Vulnerability · Published Feb 15, 2021 · Assigned by mitre
CVE-2021-27218
High 7.5
In plain English
A high-severity security flaw in the glib2-doc package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.1% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.1%top 9.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | glib2-doc | 2.56.4-10.el8_4.1 | ALSA-2021:3058 |
| AlmaLinux:8 | glib2-static | 2.56.4-10.el8_4.1 | ALSA-2021:3058 |
| AlmaLinux:8 | mingw32-glib2 | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux:8 | mingw32-glib2-static | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux:8 | mingw64-glib2 | 2.66.7-2.el8 | ALSA-2021:4526 |
| AlmaLinux:8 | mingw64-glib2-static | 2.66.7-2.el8 | ALSA-2021:4526 |
| Debian:12 | glib2.0 | 2.66.7-1 | DEBIAN-CVE-2021-27218 |
| Debian:13 | glib2.0 | 2.66.7-1 | DEBIAN-CVE-2021-27218 |
| Debian:14 | glib2.0 | 2.66.7-1 | DEBIAN-CVE-2021-27218 |
| Rocky Linux:8 | glib2 | 0:2.56.4-10.el8_4.1 | RLSA-2021:3058 |
Affected products (as reported)
References
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942 x_refsource_MISC
- https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944 x_refsource_MISC
- [mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jar mailing-list, x_refsource_MLIST
- FEDORA-2021-7c71cda8da vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20210319-0004/ x_refsource_CONFIRM
- FEDORA-2021-7b5e2e6844 vendor-advisory, x_refsource_FEDORA
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- GLSA-202107-13 vendor-advisory, x_refsource_GENTOO
- [debian-lts-announce] 20220606 [SECURITY] [DLA 3044-1] glib2.0 security update mailing-list, x_refsource_MLIST
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html