CVE-2024-21538

State
Published
Severity
8.7 High
Published
Nov 8, 2024
Updated
Aug 7, 2026
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS: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:Psnyk
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:Psnyk

Weaknesses

  • CWE-1333 Regular Expression Denial of Service (ReDoS)

Affected Products

ProductVersions
cross-spawnn/a
  • before 6.0.6Affected
  • 7.0.0 to before 7.0.5Affected
org.webjars.npm:cross-spawnn/a
  • before 6.0.6Affected
  • 7.0.2 to before 7.0.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.