Intel

AIKIDO-2024-10322

@vendure/core is vulnerable to Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 7, 2024

48

Medium Risk

This Affects:

js@vendure/core
2.1.3 - 3.0.3
Fixed in 3.0.4
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to inefficient regular expression complexity. The email validation process uses a regex with exponential complexity, making it susceptible to ReDoS (Regular Expression Denial of Service) attacks when handling maliciously crafted inputs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@vendure/core is vulnerable to Inefficient Regular Expression Complexity in versions 2.1.3 - 3.0.3.

How to fix this

Upgrade the @vendure/core library to the patch version.