logo

CVE-2024-21538 cross-spawn

Package

Manager: npm
Name: cross-spawn
Vulnerable Version: >=7.0.0 <7.0.5 || >=0 <6.0.6

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: 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

EPSS: 0.00129 pctl0.33061

Details

Regular Expression Denial of Service (ReDoS) in cross-spawn Versions of the package cross-spawn 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.

Metadata

Created: 2024-11-08T06:30:47Z
Modified: 2025-05-19T19:56:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json
CWE IDs: ["CWE-1333"]
Alternative ID: GHSA-3xgq-45jj-v275
Finding: F211
Auto approve: 1