CVEvulnerability

CVE-2024-27936

6.5 MEDIUM Published 2024-03-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-03-21
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-150

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 configurations

• deno deno (>= 1.32.1 < 1.41.0) • deno deno runtime (>= 0.103.0 < 0.147.0)

Related

Weakness · CWE (1)

  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences weakness

Referenced by CWE · observed example (2)

  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences weakness
  • CWE-451 User Interface (UI) Misrepresentation of Critical Information weakness

References