CVE-2024-27936

Deno interactive permission prompt spoofing via improper ANSI stripping

Published Mar 6, 2024 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0957 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.
Github GHSA Github GHSA GHSA-m4pq-fv2w-6hrw Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping
History
Type Values Removed Values Added
First Time appeared Deno deno Runtime
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:deno:deno_runtime:*:*:*:*:*:rust:*:*
Vendors & Products Deno deno Runtime
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 12:41 AM
Reserved
Feb 28, 2024, 3:14 PM
Status
Analyzed
Published
Mar 21, 2024, 2:52 AM
Modified
Jun 17, 2026, 7:20 AM