← Back to CVEs
CVE-2024-21538
HIGH7.5
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.
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published11/8/2024
Last Modified5/20/2025
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-1333CWE-1333
References
https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff(report@snyk.io)
https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f(report@snyk.io)
https://github.com/moxystudio/node-cross-spawn/pull/160(report@snyk.io)
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8366349(report@snyk.io)
https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230(report@snyk.io)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.