CVE-2024-27935
Deno Node.js Compatibility Buffer Contamination
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.
INFO
Published Date :
March 21, 2024, 2:52 a.m.
Last Modified :
Jan. 3, 2025, 7:25 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.7
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27935
.
URL | Resource |
---|---|
https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 | Patch |
https://github.com/denoland/deno/issues/20188 | Exploit Issue Tracking |
https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp | Vendor Advisory |
https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 | Patch |
https://github.com/denoland/deno/issues/20188 | Exploit Issue Tracking |
https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27935
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27935
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L Added CWE NIST NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* versions from (including) 1.35.1 up to (excluding) 1.36.3 Changed Reference Type https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 No Types Assigned https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 Patch Changed Reference Type https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 No Types Assigned https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 Patch Changed Reference Type https://github.com/denoland/deno/issues/20188 No Types Assigned https://github.com/denoland/deno/issues/20188 Exploit, Issue Tracking Changed Reference Type https://github.com/denoland/deno/issues/20188 No Types Assigned https://github.com/denoland/deno/issues/20188 Exploit, Issue Tracking Changed Reference Type https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp No Types Assigned https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp Vendor Advisory Changed Reference Type https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp No Types Assigned https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 Added Reference https://github.com/denoland/deno/issues/20188 Added Reference https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Mar. 21, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp [No types assigned] Added Reference GitHub, Inc. https://github.com/denoland/deno/issues/20188 [No types assigned] Added Reference GitHub, Inc. https://github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 [No types assigned] Added CWE GitHub, Inc. CWE-488 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27935
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27935
weaknesses.