Regular Expression Denial of Service (ReDoS) in cross-spawn
cross-spawn · org.webjars.npm:cross-spawn
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cross-spawn npm |
|
|
Original 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.
From the CVE record · snyk