CVE-2024-27936

Public Exploit
Deno interactive permission prompt spoofing via improper ANSI stripping

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.52%
Vendor Advisory github.com
Affected: denoland deno
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-27936?
CVE-2024-27936 has been scored as a high severity vulnerability.
How to fix CVE-2024-27936?
To fix CVE-2024-27936, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-27936 being actively exploited in the wild?
It is possible that CVE-2024-27936 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-27936?
CVE-2024-27936 affects denoland deno.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.