CVE-2023-28446 Details
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.
A vulnerability in Deno versions 1.8.0 through 1.31.1 allows arbitrary program names to be used without proper ANSI filtering. This enables malicious programs to clear the first two lines of an 'op_spawn_child' or 'op_kill' prompt and replace them with any desired text. The vulnerability can be exploited on systems with an interactive prompt, such as desktop environments, but not on headless servers. The issue has been patched in Deno version 1.31.2.
Users can update to Deno version 1.31.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.js#L175 | CVE | Vendor Advisory |
| https://github.com/denoland/deno/releases/tag/v1.31.2 | CVE | PatchRelease Notes |
| https://github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf | CVE | ExploitVendor Advisory |
| https://github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.js#L175 | [email protected] | Vendor Advisory |
| https://github.com/denoland/deno/releases/tag/v1.31.2 | [email protected] | PatchRelease Notes |
| https://github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-150 | Improper Neutralization of Escape, Meta, or Control Sequences | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deno deno | < 1.31.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Mar 31, 2023 | Initial Analysis | [email protected] |