CVE-2024-21538
November 08, 2024
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 Packages
https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=v6.0.0 <v6.0.6Fix Suggestion:
Update to version v6.0.6https://github.com/moxystudio/node-cross-spawn.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.0.5Fix Suggestion:
Update to version v7.0.5org.webjars.npm:cross-spawn (JAVA):
Affected version(s) >=6.0.5 <6.0.6Fix Suggestion:
Update to version 6.0.6cross-spawn (NPM):
Affected version(s) >=0.1.0 <6.0.6Fix Suggestion:
Update to version 6.0.6cross-spawn (NPM):
Affected version(s) >=7.0.0 <7.0.5Fix Suggestion:
Update to version 7.0.5Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.1