BreachSpiderVerified, not vibes

CVE-2024-27933 in Deno

High 8.8 Fix available

Deno is a JavaScript, TypeScript, and WebAssembly runtime. In version 1.39.0, use of raw file descriptors in `op_node_ipc_pipe()` leads to premature close of arbitrary file descriptors, allowing standard input to be re-opened as a different resource resulting in permission prompt bypass. Node child_process IPC relie...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.4%
EPSS percentile23th
FixAvailable

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Deno Deno 1.39.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. In version 1.39.0, use of raw file descriptors in `op_node_ipc_pipe()` leads to premature close of arbitrary file descriptors, allowing standard input to be re-opened as a different resource resulting in permission prompt bypass. Node child_process IPC relies on the JS side to pass the raw IPC file descriptor to `op_node_ipc_pipe()`, which returns a `IpcJsonStreamResource` ID associated with the file descriptor. On closing the resource, the raw file descriptor is closed together. Use of raw file descriptors in `op_node_ipc_pipe()` leads to premature close of arbitrary file descriptors. This allow standard input (fd 0) to be closed and re-opened for a different resource, which allows a silent permission prompt bypass. This is exploitable by an attacker controlling the code executed inside a Deno runtime to obtain arbitrary code execution on the host machine regardless of permissions. This bug is known to be exploitable. There is a working exploit that achieves arbitrary code execution by bypassing prompts from zero permissions, additionally abusing the fact that Cache API lacks filesystem permission checks. The attack can be conducted silently as stderr can also be closed, suppressing all prompt outputs. Version 1.39.1 fixes the bug.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-27933
BreachSpider IDBS-2024-GLOBAL-206085-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2024-03-21
Last modified2025-01-03
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

CVE-2024-27933 affects Deno version 1.39.0, where the use of raw file descriptors in `op_node_ipc_pipe()` can lead to a premature close of arbitrary file descriptors, potentially allowing standard input to be re-opened as a different resource, bypassing permission prompts.

An attacker could exploit this vulnerability by manipulating the handling of raw file descriptors in Deno's `op_node_ipc_pipe()` function, leading to unauthorized access or privilege escalation.

Questions

What is CVE-2024-27933?

CVE-2024-27933 affects Deno version 1.39.0, where the use of raw file descriptors in `op_node_ipc_pipe()` can lead to a premature close of arbitrary file descriptors, potentially allowing standard input to be re-opened as a different resource, bypassing permission prompts.

What is the CVSS score for CVE-2024-27933?

CVE-2024-27933 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2024-27933 actively exploited?

No confirmed active exploitation of CVE-2024-27933 as of 2026-05-30.

How do I remediate CVE-2024-27933?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2024-27933?

CVE-2024-27933 affects Deno Deno.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Deno","product":"Deno","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-01-03.