cross-spawn: Command injection on Windows when spawning batch files
영향
| 패키지 | 영향받는 버전 | 수정 버전 |
|---|---|---|
| npm:cross-spawn | >= 7.0.0, < 7.1.0 | 7.1.0 |
| npm:cross-spawn | < 6.0.7 | 6.0.7 |
On Windows, cross-spawn runs commands that aren't executables (.exe or .com), such as batch files (.bat or .cmd), through cmd.exe, and escapes the command and its arguments for it. A batch file that forwards its arguments, e.g. with %, makes cmd.exe parse them a second time. cross-spawn only accounted for that second parse when the batch file was an npm cmd-shim located in node_modules/.bin. For any other batch file, such as npm.cmd, globally installed package shims or user batch files, a craft…
X에서 속보 받기악용·대형 유출·장애를 대응 방법과 함께.
@vulnpulse_app 팔로우2026. 12. 01. 오전 11:58, GitHub Advisory Database에서 "cross-spawn: Command injection on Windows when spawning batch files"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "긴급"(critical)입니다. 관련 기술: JavaScript / Node.js, Windows. CVE: CVE-2026-137199.