CVE Database
/

CVE-2024-21538

Back to search

CVE-2024-21538

Published: Nov 8, 2024

Modified: May 20, 2025

PUBLISHED

CVSS v3.1

7.5

HIGH

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.

VendorProductVersions

n/a

cross-spawn

affected
0 - < 6.0.6
affected
7.0.0 - < 7.0.5

n/a

org.webjars.npm:cross-spawn

affected
0 - < 7.0.6

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P

Attack Vector

Network

Attack Complexity

Low

Privileges Required

None

User Interaction

None

Scope

Unchanged

Confidentiality

None

Integrity

None

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now