CVE-2024-27936

MEDIUM EPSS 56.6%
Published Mar 21, 20242y ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Medium
Find Similar
Published Mar 21, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.5
Exploitability
2.8
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
56.6% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-150

Affected Products 2

VendorProductVersionRange
denodeno*≥1.32.1  –  <1.41.0
denodeno_runtime*≥0.103.0  –  <0.147.0

References 3

  • github.com https://github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d36f3b8630286d
    Patch
  • github.com https://github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5
    Patch
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrw
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d36f3b8630286d
    Patch
  • github.com https://github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5
    Patch