CVE-2024-27936

Deno interactive permission prompt spoofing via improper ANSI stripping

MEDIUM
6.5
CVSS Score
Published: March 6, 2024 at 09:05 PM UTC
Updated: June 17, 2026 at 07:20 AM UTC
3 products affected across 2 vendorsDenoDeno RuntimeDeno

Using deno by denoland?

Get instant alerts when new vulnerabilities affect deno - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.9%
SSVC
PoC

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Starting in version 1.32.1 and prior to version 1.41.0 of the deno library, maliciously crafted permission request can show the spoofed permission prompt by inserting a broken ANSI escape sequence into the request contents. Deno is stripping any ANSI escape sequences from the permission prompt, but permissions given to the program are based on the contents that contain the ANSI escape sequences. Any Deno program can spoof the content of the interactive permission prompt by inserting a broken ANSI code, which allows a malicious Deno program to display the wrong file path or program name to the user. Version 1.41.0 of the deno library contains a patch for the issue.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
1.32.1 ≤ v < 1.41.01.32.1
Affected range stops below 1.41.0, so it looks safe — our inference, not a vendor statement
0.103.0 ≤ v < 0.147.0
Affected range stops below 0.147.0, so it looks safe — our inference, not a vendor statement
v < 1.41.0
Affected range stops below 1.41.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-150NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card