Skip to content
7.5 High

CVE-2024-21538 Versions of the package cross-spawn before 6.0.6, from 7.0.0 and before 7.0.5 are vulnerable to Regular Expression…

Description

Versions of the package cross-spawn before 6.0.6, from 7.0.0 and 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 products and versions

Product Affected versions Fixed in
cross-spawn 7.0 7.0.0 → < 7.0.5 7.0.5
cross-spawn 6.0 earliest → < 6.0.6 6.0.6
org.webjars.npm:cross-spawn 7.0 7.0.2 → < 7.0.6 7.0.6
org.webjars.npm:cross-spawn 6.0 earliest → < 6.0.6 6.0.6
cross-spawn 7.0 earliest → < 7.0.5 7.0.5
Track this CVE