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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-03-06T21:02:14.359Z
Updated: 2024-08-02T20:12:42.832Z
Reserved: 2024-02-28T15:14:14.216Z
Link: CVE-2024-27935
Vulnrichment
Updated: 2024-08-02T00:41:55.847Z
NVD
Status : Awaiting Analysis
Published: 2024-03-21T02:52:22.627
Modified: 2024-03-21T12:58:51.093
Link: CVE-2024-27935
Redhat
No data.