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

EcosystemPackageFixed inAdvisory
AlmaLinux:8glib2-doc2.56.4-10.el8_4.1ALSA-2021:3058
AlmaLinux:8glib2-static2.56.4-10.el8_4.1ALSA-2021:3058
AlmaLinux:8mingw32-glib22.66.7-2.el8ALSA-2021:4526
AlmaLinux:8mingw32-glib2-static2.66.7-2.el8ALSA-2021:4526
AlmaLinux:8mingw64-glib22.66.7-2.el8ALSA-2021:4526
AlmaLinux:8mingw64-glib2-static2.66.7-2.el8ALSA-2021:4526
Debian:12glib2.02.66.7-1DEBIAN-CVE-2021-27218
Debian:13glib2.02.66.7-1DEBIAN-CVE-2021-27218
Debian:14glib2.02.66.7-1DEBIAN-CVE-2021-27218
Rocky Linux:8glib20:2.56.4-10.el8_4.1RLSA-2021:3058

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References