1. Archivio CVE
  2. 2024
  3. CVE-2024-27935

CVE-2024-27935

8.3 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L 8.3 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
deno deno >= 1.35.1 < 1.36.3 –
Tutte le 39 vulnerabilità di Deno

Tipo di vulnerabilità

CWE-488 Exposure of Data Element to Wrong Session

The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Protect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions.
Test Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).
Architettura e progettazione In a multithreading environment, storing user data in Servlet member fields introduces a data access race condition. Do not use member fields to store information in the Servlet.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 59 CVE di tipo CWE-488, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org