CVE-2024-27936
Last modified
CVE-2024-27936 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.94% chance of exploitation in the next 30 days.
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | >= 1.32.1, < 1.41.0 |
| Deno | Deno Runtime | >= 0.103.0, < 0.147.0 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrwExploit, Vendor Advisory
- https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrwExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27936?
How severe is CVE-2024-27936?
How do I fix CVE-2024-27936?
Are you affected by CVE-2024-27936?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
