Bug 1221811 (CVE-2024-27936) - VUL-0: CVE-2024-27936: deno: maliciously crafted permission request can show the spoofed permission prompt
Summary: VUL-0: CVE-2024-27936: deno: maliciously crafted permission request can show ...
Status: RESOLVED FIXED
Alias: CVE-2024-27936
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adam Majer
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/398502/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 11:26 UTC by SMASH SMASH
Modified: 2024-03-21 11:27 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-21 11:26:48 UTC
Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Starting in version 1.32.1 and prior to version 1.41 of the deno_runtime 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 of the deno_runtime library contains a patch for the issue.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27936
https://github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrw
https://www.cve.org/CVERecord?id=CVE-2024-27936

Patch:
https://github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5
Comment 1 Andrea Mattiazzo 2024-03-21 11:27:06 UTC
Closing since already fixed.