Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| denoland | deno | 2.7.0 – ≤ 2.9.7 | — |
References
- Pull Request #36772 issue-tracking patch
- https://github.com/denoland/deno product
- https://github.com/denoland/deno/blob/0c071246a412575e07423263404a5d13e7ed6aa2/ext/node/polyfills/internal/child_process.ts#L1499 technical-description
- https://github.com/denoland/deno/blob/0c071246a412575e07423263404a5d13e7ed6aa2/ext/node/polyfills/internal/child_process.ts#L1339 technical-description
- VulnCheck Advisory: Deno 2.7.0 through 2.9.7 Command Injection via node:child_process third-party-advisory