CVE-2024-21538: Cross-Spawn

High severity, CVSS 7.5. EPSS: 0.9% chance of exploitation in the next 30 days.

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

Published 2024-11-08. Last modified 2026-07-28.