U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2024-27936 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d36f3b8630286d
https://github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d36f3b8630286d
https://github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5
https://github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5
https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrw
https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrw

Weakness Enumeration

CWE-ID CWE Name Source
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences GitHub, Inc.  

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2024-27936
NVD Published Date:
03/20/2024
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.