Description (CNA)
Deno versions 2.7.0 through 2.9.7 on Windows contain a command injection vulnerability in node:child_process where shell arguments are escaped for the wrong shell type. Attackers can inject OS commands by passing untrusted arguments with the shell option, allowing arbitrary command execution with Deno process privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| denoland / deno | affected 2.7.0 through 2.9.7 |
CWE
CWE-78
References
- https://github.com/denoland/deno/pull/36772
- https://github.com/denoland/deno
- https://github.com/denoland/deno/blob/0c071246a412575e07423263404a5d13e7ed6aa2/ext/node/polyfills/internal/child_process.ts#L1499
- https://github.com/denoland/deno/blob/0c071246a412575e07423263404a5d13e7ed6aa2/ext/node/polyfills/internal/child_process.ts#L1339
- https://www.vulncheck.com/advisories/deno-2.7.0-through-2.9.7-command-injection-via-node-child-process
ADP enrichment
No English description supplied.
No references supplied.