Deno
Deno is Vulnerable to Command Injection on Windows During Batch File Execution
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. In Windows, ``CreateProcess()`` always implicitly spawns ``cmd.exe`` if a batch file (.bat, .cmd, etc.) is being executed even if the application does not specify it via the command line. This makes Deno vulnerable to a command injection attack on Windows. Versions 2.5.3 and 2.2.15 fix the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-77
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
denoland deno
- >= 2.3.0, < 2.5.3
- < 2.2.15
Fixed in 2.5.3, 2.2.15
Mitigation
Upgrade deno to 2.5.3 or 2.2.15 or later.
References
- Vendor advisory github.com/denoland/deno/security/advisories/G…
- Patch github.com/denoland/deno/pull/30818
- Patch github.com/denoland/deno/commit/8a0990ccd37baf…
2 more
- Release notes github.com/denoland/deno/releases/tag/v2.2.15
- Release notes github.com/denoland/deno/releases/tag/v2.5.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.