synced 2 MIN AGO
01 Record

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

HighPUBLISHEDCNA: snyk
CNA base score8.7 CVSS v4.0CVSS: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

02 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

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.86% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 58.3% of scored records. A rank, not a probability.
NVD base score
7.7 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD analysis status
Deferred. NVD last modified this record on 2026-07-28.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-11-08 05:00Z1 YR AGO
Last updated
2026-08-07 15:25Z2 MO AGO
Reserved
2023-12-22
Assigning CNA
snyk
Record state
PUBLISHED
Severity
High (CVSS 8.7)
CNA CVSS vector
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
Weaknesses
  • CWE-1333Inefficient Regular Expression ComplexityBase
Data version
5.2
Document digest
3d353fc15d23da5302c3ebfae10068878bad3defbd3e3b301fdd2ac3abcf78c5

05 Affected products

VendorProductVersionsPlatforms
n/across-spawn0 to < 6.0.6, 7.0.0 to < 7.0.5—
n/aorg.webjars.npm:cross-spawn0 to < 6.0.6, 7.0.2 to < 7.0.6—
cross-spawncross-spawn0 to < 7.0.5—

06 References