CVE-2024-27935
CVE-2024-27935 is a high-severity vulnerability in Deno with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-488.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1029
- Weakness: CWE-488
- Affected product: Deno
- Published:
- Last modified:
Description
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 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.
Frequently asked questions
- What is CVE-2024-27935?
- 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 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.
- How severe is CVE-2024-27935?
- CVE-2024-27935 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability low.
- Is CVE-2024-27935 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-27935?
- CVE-2024-27935 affects Deno. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-27935?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-27935 have an EU (EUVD) identifier?
- Yes. CVE-2024-27935 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1029.
- When was CVE-2024-27935 published?
- CVE-2024-27935 was published on 2024-03-21 and last updated on 2026-06-17.
References
- https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6
- https://github.com/denoland/deno/issues/20188
- https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp
Affected products (1)
- cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
More vulnerabilities in Deno
- CVE-2022-24783 — Critical (CVSS 10.0): Deno is a runtime for JavaScript and TypeScript. The versions of Deno between release 1.18.0 and 1.20.2 (inclusive) are…
- CVE-2023-28445 — Critical (CVSS 9.9): Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Resizable ArrayBuffers passed to…
- CVE-2021-32619 — Critical (CVSS 9.8): Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. In Deno versions 1.5.0 to 1.10.1,…
- CVE-2025-48935 — Critical (CVSS 9.1): Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 2.2.0 and prior to versions 2.2.5, it is…
- CVE-2024-27936 — High (CVSS 8.8): Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Starting in version 1.32.1 and prior to…
- CVE-2023-28446 — High (CVSS 8.8): Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary…
Other CWE-488 vulnerabilities
- CVE-2025-47928 — Critical (CVSS 9.1): Spotipy is a Python library for the Spotify Web API. As of commit 4f5759dbfb4506c7b6280572a4db1aabc1ac778d, using…
- CVE-2024-27455 — Critical (CVSS 9.1): In the Bentley ALIM Web application, certain configuration settings can cause exposure of a user's ALIM session token…
- CVE-2025-1247 — High (CVSS 8.3): A flaw was found in Quarkus REST that allows request parameters to leak between concurrent requests if endpoints use…
- CVE-2024-38367 — High (CVSS 8.2): trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. Prior to commit…
- CVE-2023-1907 — High (CVSS 8.0): A vulnerability was found in pgadmin. Users logging into pgAdmin running in server mode using LDAP authentication may…
- CVE-2026-54311 — High (CVSS 7.7): n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission…