CVE-2024-27936

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/03/2024
Last modified:
03/01/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* 1.32.1 (including) 1.41.0 (excluding)
cpe:2.3:a:deno:deno_runtime:*:*:*:*:*:rust:*:* 0.103.0 (including) 0.147.0 (excluding)