vulnerability

Red Hat: CVE-2024-21538: cross-spawn: regular expression denial of service

Severity
4
CVSS
(AV:L/AC:H/Au:S/C:N/I:N/A:C)
Published
Nov 8, 2024
Added
Jul 9, 2025
Modified
Jul 10, 2025

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.

Solution

no-fix-redhat-rpm-package
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.