Cyber Resilience

CVE-2024-27935

Deno 1.35.1 – 1.36.3

Public PoC
Published
21 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
EPSS Score 0.0072 51th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2024-27935 is a high-severity Exposure of Data Element to Wrong Session (CWE-488) vulnerability in Deno Deno. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Web Session Cookie (T1550.004); ranked in the top 49% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.35.1 and prior to version 1.36.3, a vulnerability in Deno's Node.js compatibility runtime allows for cross-session data contamination during simultaneous asynchronous reads from Node.js streams sourced from sockets or…

more

files. The issue arises from the re-use of a global buffer (BUF) in stream_wrap.ts used as a performance optimization to limit allocations during these asynchronous read operations. This can lead to data intended for one session being received by another session, potentially resulting in data corruption and unexpected behavior. This affects all users of Deno that use the node.js compatibility layer for network communication or other streams, including packages that may require node.js libraries indirectly. Version 1.36.3 contains a patch for this issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-37150Same product: Deno Deno
CVE-2025-61786Same product: Deno Deno
CVE-2026-27190Same product: Deno Deno
CVE-2026-44726Same product: Deno Deno
CVE-2026-32260Same product: Deno Deno
CVE-2024-27933Same product: Deno Deno
CVE-2023-28446Same product: Deno Deno
CVE-2023-26103Same product: Deno Deno
CVE-2024-27931Same product: Deno Deno
CVE-2025-48888Same product: Deno Deno

Affected Assets

deno
deno
1.35.1 — 1.36.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

AC-3 enforces access decisions that can be scoped to the correct session context.

AC-4 controls information flows between entities, reducing cross-session leakage.

SC-4 directly stops unintended transfer of data through shared resources that different sessions may access.

SC-39 isolates execution domains so one session cannot reach another's state or data.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 partial match
prevents

Enforcing authorization policies and least privilege can prevent cross-session data exposure when session separation is treated as an access rule.

PR.DS-10 partial match
prevents

Protecting data-in-use directly addresses runtime leakage of session data to unauthorized contexts.

PR.IR-01 partial match
prevents

Logical access controls and segmentation can be applied to isolate session state within applications or environments.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect the weakness but does not itself implement the preventive control.

prevents

Secure development lifecycle practices include session-management controls that prevent exposure of data to the wrong session.

prevents

Application security requirements explicitly call for proper session isolation and state management.

prevents

Secure system architecture principles require isolation of session state to avoid cross-session data leakage.

prevents

Secure coding standards mandate correct session handling to prevent exposure of data elements to the wrong session.

mitigates

Information access restriction directly enforces session boundaries so data is not exposed to the wrong session.

References