cve.bz

CVE-2024-21538

7.7 highEPSS 0.9%

High (7.7). EPSS 0.9% chance of exploitation in the next 30 days. Fixed in cross-spawn 6.0.6, 7.0.5.

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.

Severity

CVSS 4.0

7.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3xgq-45jj-v275npmcross-spawn>=7.0.0 <7.0.57.0.5
GHSA-3xgq-45jj-v275npmcross-spawn<6.0.66.0.6

References

Check your stackJSON