PT-2023-2285 · Deno · Deno

Leodog896

·

Published

2023-03-15

·

Updated

2026-04-14

·

CVE-2023-28446

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Deno versions prior to 1.31.2
Description The issue is related to the lack of filtering for special control characters in Deno, a runtime for JavaScript and TypeScript. This allows a malicious program to clear the first two lines of a prompt and replace them with any desired text, effectively spoofing the interactive permission prompt for certain actions. This can give the program the ability to choose what program it wants to run, posing a security risk. The problem cannot be exploited on systems without an interactive prompt, such as headless servers.
Recommendations For Deno versions prior to 1.31.2, update to version 1.31.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the op spawn child and op kill functions until a patch is applied. Additionally, avoid using the --unstable flag in versions prior to 1.31.0, as it is required for exploitation in those versions.

Exploit

Fix

Weakness Enumeration

Related Identifiers

BDU:2023-02046
CVE-2023-28446
GHSA-VQ67-RP93-65QF
JLSEC-2026-102

Affected Products

Deno