Vulnerability in Deno
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L.
EPSS exploit prediction
EPSS: 0.007 (53.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 53.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Deno
- Denoland Deno — versions >= 1.35.1, < 1.36.3
Weakness classification (CWE)
References
- github.com/denoland/deno/security/advisories/GHSA-wrqv-pf6j-mqjp (Vendor Advisory)
- github.com/denoland/deno/issues/20188 (Exploit, Issue Tracking)
- github.com/denoland/deno/commit/3e9fb8aafd9834ebacd27734cea4310caaf794c6 (Patch)
Frequently asked questions
- What is CVE-2024-27935?
- CVE-2024-27935 is a high-severity vulnerability in Deno, classified under CWE-488. CVSS score: 7.2/10. Published 2024-03-21.
- How severe is CVE-2024-27935?
- High severity. CVSS v3 base score is 7.2 out of 10.