Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-32477

7.7 · HIGH
Published Apr 18, 2024 deno CWE-78 EPSS 0.34% (27th pctl)

Overview

CVE-2024-32477 is a high-severity vulnerability affecting deno deno. It was published on April 18, 2024 and has a CVSS 3.1 base score of 7.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. By using ANSI escape sequences and a race between `libc::tcflush(0, libc::TCIFLUSH)` and reading standard input, it's possible to manipulate the permission prompt and force it to allow an unsafe action regardless of the user input. Some ANSI escape sequences act as a info request to the master terminal emulator and the terminal emulator sends back the reply in the PTY channel. standard streams also use this channel to send and get data. For example the `\033[6n` sequence requests the current cursor position. These sequences allow us to append data to the standard input of Deno. This vulnerability allows an attacker to bypass Deno permission policy. This vulnerability is fixed in 1.42.2.

Remediation

Check the references section for vendor advisories and patches from deno. Update deno to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
deno deno >= 0, < 1.42.2 Affected

Frequently Asked Questions

What is CVE-2024-32477?

CVE-2024-32477 is a high-severity vulnerability affecting deno deno. It was published on April 18, 2024 and has a CVSS 3.1 base score of 7.7 (HIGH).

How severe is CVE-2024-32477?

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-32477?

Check the references section for vendor advisories and patches from deno. Update deno to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-32477?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-32477 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.