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 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.

  • Published Nov 8, 2024
  • CVSS 7.7 high
  • 0.9% chance of exploitation in the next 30 days (EPSS)
  • A fix is available

Affected software

In the news

CVE-2024-21538 at the National Vulnerability Database