CVE-2024-21538 - CVE House
Back to Database
Status published High CVE-2024-21538

Versions of the package cross-spawn before 6.0.6, from 7.0.0 and...

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21538

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Rongchen Li

Affected Vendor

Affected Software

cross-spawn, org.webjars.npm:cross-spawn
Vulnerable Versions:
0, 7.0.0

Timeline

Official Publish: November 8th, 2024
Last Modified: May 20th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)