1. Archivio CVE
  2. 2021
  3. CVE-2021-27218

CVE-2021-27218

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

Descrizione

An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
broadcom brocade fabric operating system firmware tutte –
debian debian linux 9.0 –
fedoraproject fedora 33 –
fedoraproject fedora 34 –
gnome glib < 2.66.7 –
gnome glib >= 2.67.0 < 2.67.4 –
netapp active iq unified manager tutte vmware_vsphere
netapp cloud backup tutte –
netapp e-series performance analyzer tutte –
Tutte le 33 vulnerabilità di Gnome Glib

Tipo di vulnerabilità

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impatto sui sistemi

AmbitoImpatto
Altro, Integrità Stato imprevisto, Degradare la qualità

Come si previene

Sviluppo Avoid making conversion between numeric types. Always check for the allowed ranges.

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

Tutte le 123 CVE di tipo CWE-681, con andamento e prevenzione

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