Tag

Cross Spawn

All articles tagged with #cross spawn

Cross-spawn releases patches for critical Windows command injection flaw
technology1 day ago

Cross-spawn releases patches for critical Windows command injection flaw

The cross-spawn library, a popular Node.js utility for spawning processes, has released versions 6.0.7 and 7.1.0 to address CVE-2026-137199, a critical vulnerability rated 9.2 on the CVSS scale. The flaw affects Windows applications that pass untrusted arguments to commands routed through cmd.exe, specifically when batch files outside the standard node_modules/.bin directory forward arguments. Attackers could exploit this to execute arbitrary commands via crafted inputs that break out of quotes or trigger variable expansion. The fix neutralizes special characters and improves batch file detection, mirroring security measures adopted after the 2024 BatBadBut vulnerability. No other platforms or the intentionally unescaped shell mode are affected.

cross-spawn patches Windows argument injection flaw in 6.0.7 and 7.1.0
technology1 day ago

cross-spawn patches Windows argument injection flaw in 6.0.7 and 7.1.0

A high-severity argument injection vulnerability in the cross-spawn Node.js library has been patched in versions 6.0.7 and 7.1.0. The flaw, rated 8.3 on the CVSS 4.0 scale, affects Windows applications that pass untrusted arguments to commands routed through cmd.exe. It stems from incorrect handling of backslashes before double quotes, allowing attackers to escape argument boundaries and alter program behavior. The issue was introduced as a regression in earlier versions attempting to fix a ReDoS vulnerability and has been resolved by replacing the flawed regex approach with a linear-time loop.

Patches Released for High-Severity Command Injection Flaw in cross-spawn
technology1 day ago

Patches Released for High-Severity Command Injection Flaw in cross-spawn

A high-severity command injection vulnerability in the cross-spawn npm package has been patched in versions 6.0.8 and 7.1.1. The flaw, rated 8.1 on the CVSS scale, affected Windows applications that passed untrusted arguments to commands not formatted as plain program names or paths. The issue allowed attackers to execute arbitrary commands via cmd.exe due to improper argument escaping. The fix ensures commands are properly quoted and resolved using the child process's PATHEXT, though it introduces a behavioral change where commands like 'npm install' must now be split into program and argument arrays.