NetSight
high7.5

CVE-2024-21538

Regular Expression Denial of Service (ReDoS) in cross-spawn

Impact

Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Affected packages

EcosystemPackageAffectedFixed in
npmcross-spawn>= 7.0.0, < 7.0.57.0.5

Affected products

ProductAffected versions
Package Cross-Spawn
before 6.0.6
From 7.0.0 And
before 7.0.5

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References