Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-27936— Deno interactive permission prompt spoofing via improper ANSI stripping

Quick assessment

Affected
denoland deno
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Deno是开源的一个简单、现代且安全的JavaScript和 TypeScript运行环境。它使用 V8 并使用 Rust 构建。 Deno 1.32.1 到1.41版本存在安全漏洞,该漏洞源于允许攻击者可以通过在请求内容中插入损坏的 ANSI 转义序列来显示欺骗性的权限提示。

CVSS 8.8 · High EPSS 0.94% · P60

Possible ATT&CK Techniques 1 AI

T1553.005 · Mark-of-the-Web Bypass
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-27936

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Deno interactive permission prompt spoofing via improper ANSI stripping
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
转义、元或控制序列转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Deno 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Deno是开源的一个简单、现代且安全的JavaScript和 TypeScript运行环境。它使用 V8 并使用 Rust 构建。 Deno 1.32.1 到1.41版本存在安全漏洞,该漏洞源于允许攻击者可以通过在请求内容中插入损坏的 ANSI 转义序列来显示欺骗性的权限提示。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
denoland deno >= 1.32.1, < 1.41.0 -

II. Public POCs for CVE-2024-27936

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-27936

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-27936 (2)

Vendor Advisories for CVE-2024-27936 (1)

Same Patch Batch · denoland · 2024-03-06 · 5 CVEs total

CVE-2024-27934 8.4 HIGH *const c_void / ExternalPointer unsoundness leading to use-after-free
CVE-2024-27933 8.3 HIGH Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt
CVE-2024-27935 7.2 HIGH Deno's Node.js Compatibility Runtime has Cross-Session Data Contamination
CVE-2024-27932 4.6 MEDIUM Deno's improper suffix match testing for DENO_AUTH_TOKENS

IV. Related Vulnerabilities

V. Comments for CVE-2024-27936

No comments yet


Leave a comment