CVE-2021-27218
published 2021-02-15CVE-2021-27218: 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…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
4.08%
89.6th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | glib2.0 | < glib2.0 2.66.7-1 (bookworm) | glib2.0 2.66.7-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| gnome | glib | < 2.66.7 | 2.66.7 |
| gnome | glib | >= 2.67.0 < 2.67.4 | 2.67.4 |
| msrc | cbl2_glib_2.60.1-5_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
vendor_oracle4.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Hyperion Risk Matrix: Installation and Configuration (Eclipse Jetty) — CVE-2020-27218
vendor_oracle·2021-10-15·CVSS 4.8
CVE-2020-27218 [MEDIUM] Oracle Oracle Hyperion Risk Matrix: Installation and Configuration (Eclipse Jetty) — CVE-2020-27218
Oracle Oracle Hyperion Risk Matrix: Installation and Configuration (Eclipse Jetty) vulnerability
CVE: CVE-2020-27218
CVSS: 4.8
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuoct2021 (OCT 2021)
Oracle
Oracle Oracle Communications Risk Matrix: Subscriber profile (Eclipse Jetty) — CVE-2020-27218
vendor_oracle·2021-07-15·CVSS 4.8
CVE-2020-27218 [MEDIUM] Oracle Oracle Communications Risk Matrix: Subscriber profile (Eclipse Jetty) — CVE-2020-27218
Oracle Oracle Communications Risk Matrix: Subscriber profile (Eclipse Jetty) vulnerability
CVE: CVE-2020-27218
CVSS: 4.8
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujul2021 (JUL 2021)
Oracle
Oracle Oracle Communications Risk Matrix: SC Admin server (Eclipse Jetty) — CVE-2020-27218
vendor_oracle·2021-04-15·CVSS 4.8
CVE-2020-27218 [MEDIUM] Oracle Oracle Communications Risk Matrix: SC Admin server (Eclipse Jetty) — CVE-2020-27218
Oracle Oracle Communications Risk Matrix: SC Admin server (Eclipse Jetty) vulnerability
CVE: CVE-2020-27218
CVSS: 4.8
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuapr2021 (APR 2021)
Ubuntu
GLib vulnerabilities
vendor_ubuntu·2021-03-08·CVSS 7.5
CVE-2021-27218 [HIGH] GLib vulnerabilities
Title: GLib vulnerabilities
Summary: Several security issues were fixed in GLib.
Krzesimir Nowak discovered that GLib incorrectly handled certain large
buffers. A remote attacker could use this issue to cause applications
linked to GLib to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2021-27218)
Kevin Backhouse discovered that GLib incorrectly handled certain memory
allocations. A remote attacker could use this issue to cause applications
linked to GLib to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2021-27219)
Instructions: After a standard system update you need to restart your session to make all
the necessary changes.
Red Hat
glib: integer overflow in g_byte_array_new_take function when called with a buffer of 4GB or more on a 64-bit platform
vendor_redhat·2021-02-10·CVSS 7.5
CVE-2021-27218 [HIGH] CWE-190 glib: integer overflow in g_byte_array_new_take function when called with a buffer of 4GB or more on a 64-bit platform
glib: integer overflow in g_byte_array_new_take function when called with a buffer of 4GB or more on a 64-bit platform
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.
Package: firefox (Red Hat Enterprise Linux 6) - Out of support scope
Package: glib2 (Red Hat Enterprise Linux 6) - Out of support scope
Package: thunderbird (Red Hat Enterprise Linux 6) - Out of support scope
Package: glib2 (Red Hat Enterprise Linux 7) - Out of support scope
Package: glib2 (Red Hat Enterprise Linux 9) - Not affected
Package: mingw-glib2 (Red Hat Enterprise Linux 9) - Not affected
Microsoft
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 modu
vendor_msrc·2021-02-09·CVSS 7.5
CVE-2021-27218 [HIGH] CWE-681 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 modu
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additio
Debian
CVE-2021-27218: glib2.0 - An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If...
vendor_debian·2021·CVSS 7.5
CVE-2021-27218 [HIGH] CVE-2021-27218: glib2.0 - An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If...
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.
Scope: local
bookworm: resolved (fixed in 2.66.7-1)
bullseye: resolved (fixed in 2.66.7-1)
forky: resolved (fixed in 2.66.7-1)
sid: resolved (fixed in 2.66.7-1)
trixie: resolved (fixed in 2.66.7-1)
GHSA
GHSA-vvj7-w55j-xgmw: An issue was discovered in GNOME GLib before 2
ghsa_unreviewed·2022-05-24
CVE-2021-27218 [HIGH] CWE-681 GHSA-vvj7-w55j-xgmw: An issue was discovered in GNOME GLib before 2
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.
OSV
glib2.0 vulnerabilities
osv·2021-03-08·CVSS 7.5
CVE-2021-27218 [HIGH] glib2.0 vulnerabilities
glib2.0 vulnerabilities
Krzesimir Nowak discovered that GLib incorrectly handled certain large
buffers. A remote attacker could use this issue to cause applications
linked to GLib to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2021-27218)
Kevin Backhouse discovered that GLib incorrectly handled certain memory
allocations. A remote attacker could use this issue to cause applications
linked to GLib to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2021-27219)
OSV
CVE-2021-27218: An issue was discovered in GNOME GLib before 2
osv·2021-02-15·CVSS 7.5
CVE-2021-27218 [HIGH] CVE-2021-27218: An issue was discovered in GNOME GLib before 2
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3Ehttps://lists.debian.org/debian-lts-announce/2022/06/msg00006.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/https://security.gentoo.org/glsa/202107-13https://security.netapp.com/advisory/ntap-20210319-0004/https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3Ehttps://lists.debian.org/debian-lts-announce/2022/06/msg00006.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/https://security.gentoo.org/glsa/202107-13https://security.netapp.com/advisory/ntap-20210319-0004/
2021-02-15
Published