High severity · published Mar 24, 2023
CVE-2023-28446
Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization
8.8
CVSS
1.1%
EPSS
No
On KEV
Description
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. This works with any command on the respective platform, giving the program the full ability to choose what program they wanted to run. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). This issue has been patched in version 1.31.2.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DE
deno · denoland
>= 1.8.0, < 1.31.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-28446
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-28446
Vendor Advisory
https://github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.js#L175
Patch
https://github.com/denoland/deno/releases/tag/v1.31.2
Exploit
https://github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf
More from deno
9.8
CVE-2026-32260
Command Injection via incomplete shell metacharacter blocklist in node:child_process (bypass of CVE-2026-27190 fix)
9.8
CVE-2026-27190
Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process
9.8
CVE-2026-22864
Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass
9.8
CVE-2023-33966
Deno missing "--allow-net" permission check for built-in Node modules
9.8
CVE-2023-28445
Deno improperly handles resizable ArrayBuffer
