ADVISORIES

GitHub Advisory Database

GHSA-3xgq-45jj-v275

Regular Expression Denial of Service (ReDoS) in cross-spawn

Details

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.

Affected packages

EcosystemPackageAffected versions
npmcross-spawn
From 7.0.0 before 7.0.5 (fixed in 7.0.5)
npmcross-spawn
All versions before 6.0.6 (fixed in 6.0.6)

References