CVE-2021-27218
JSON

7.5high

An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.44% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gnome glibbefore 2.66.7, from 2.67.0 before 2.67.4NVD
fedoraproject fedora33, 34NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp cloud_backupNot specifiedNVD
netapp e-series_performance_analyzerNot specifiedNVD
broadcom brocade_fabric_operating_system_firmwareNot specifiedNVD
debian debian_linux9.0NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se detectó un problema en GNOME GLib versiones anteriores a 2.66.7 y versiones 2.67.x anteriores a 2.67.4. Si se llamó a la función g_byte_array_new_take() con un búfer de 4 GB o más sobre una plataforma de 64 bits, la longitud debería ser truncada módulo 2**32, causando un truncamiento de la longitud no prevista

References

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942patch, vendor-advisory
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944patch, vendor-advisory
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3Emailing-list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/vendor-advisory
https://security.netapp.com/advisory/ntap-20210319-0004/third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/vendor-advisory
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Emailing-list
https://security.gentoo.org/glsa/202107-13third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2022/06/msg00006.htmlmailing-list, third-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Sources

SourceRecordLicence
CVE ListCVE-2021-27218 changed 2026-10-14CVE Terms of Use
NVDCVE-2021-27218 changed 2026-10-14Public domain