CVE-2024-21538

Source
https://cve.org/CVERecord?id=CVE-2024-21538
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21538.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21538
Aliases
Downstream
Related
Published
2024-11-08T05:00:04.695Z
Modified
2026-05-18T05:56:01.475761454Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1333"
    ],
    "cna_assigner": "snyk",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21538.json"
}
References

Affected packages

Git / github.com/moxystudio/node-cross-spawn

Affected ranges

Type
GIT
Repo
https://github.com/moxystudio/node-cross-spawn
Events

Affected versions

v7.*
v7.0.0
v7.0.1
v7.0.2
v7.0.3
v7.0.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21538.json"