CVE-2023-28446CWE-150

Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization

High · published March 24, 2023

CVSS v3.1
8.8
EPSS
1%
Percentile
66.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01132 · 66.2th percentile
Weakness
CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences
Published
2023-03-24T19:46Z
EPSS history
Timeline
  • 24 MAR 19:46Z
    Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization
    cvelistv5