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

CVE-2024-6381

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 – Media

Descrizione

The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mongodb libbson < 1.26.2 –

Tipo di vulnerabilità

CWE-680 Integer Overflow to Buffer Overflow

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità, Riservatezza Modificare la memoria, Interruzione del servizio: arresto o riavvio, Eseguire codice o comandi non autorizzati

Tutte le 27 CVE di tipo CWE-680, con andamento e prevenzione

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