CVE-2024-27936

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductDeno
PublishedMar 21, 2024
First seenMar 21, 2024
Weakness typeCWE-150CWE-150

How to fix

Update
  • deno deno1.41.0 or later
  • deno deno_runtime0.147.0 or later

Affected products

ProductAffected versionsFixed in
deno deno1.32.1 ≤ v < 1.41.01.41.0
deno deno_runtime0.103.0 ≤ v < 0.147.00.147.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.