Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
deno_runtimecrates.io | >= 1.8.0, < 1.31.2 | 1.31.2 |
denocrates.io | >= 1.8.0, < 1.31.2 | 1.31.2 |
Affected products
3- ghsa-coords2 versions
>= 1.8.0, < 1.31.2+ 1 more
- (no CPE)range: >= 1.8.0, < 1.31.2
- (no CPE)range: >= 1.8.0, < 1.31.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-vq67-rp93-65qfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-28446ghsaADVISORY
- github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.jsghsax_refsource_MISCWEB
- github.com/denoland/deno/releases/tag/v1.31.2ghsax_refsource_MISCWEB
- github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qfghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.