Name | CVE-2021-27218 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3044-1 |
Debian Bugs | 982779 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
glib2.0 (PTS) | buster | 2.58.3-2+deb10u3 | fixed |
buster (security) | 2.58.3-2+deb10u5 | fixed | |
bullseye | 2.66.8-1+deb11u1 | fixed | |
bullseye (security) | 2.66.8-1+deb11u2 | fixed | |
bookworm | 2.74.6-2 | fixed | |
bookworm (security) | 2.74.6-2+deb12u1 | fixed | |
trixie | 2.78.4-7 | fixed | |
sid | 2.80.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
glib2.0 | source | stretch | 2.50.3-2+deb9u3 | DLA-3044-1 | ||
glib2.0 | source | buster | 2.58.3-2+deb10u3 | |||
glib2.0 | source | (unstable) | 2.66.7-1 | 982779 |
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942
Test case depends on CVE-2021-27219 fix