Incorrect Conversion between Numeric Types in Gnome GLib - CVE-2021-27218

 

Incorrect Conversion between Numeric Types in Gnome GLib - CVE-2021-27218

Published: March 15, 2021


Vulnerability identifier: #VU51455
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-27218
CWE-ID: CWE-681
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Gnome Development Team
Affected software:
Gnome GLib

Detailed vulnerability description

The vulnerability allows a local user to bypass implemented security restrictions.

The vulnerability exists due to incorrect conversion between numeric types in Gnome Glib. 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.


How to mitigate CVE-2021-27218

Install updates from vendor's website.

Sources