Amazon Linux 2 : glib2 (ALAS-2021-1711)

high Nessus Plugin ID 153898
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Amazon Linux 2 host is missing a security update.


The version of glib2 installed on the remote host is prior to 2.56.1-9. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2021-1711 advisory.

- 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. (CVE-2021-27218)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


Run 'yum update glib2' to update your system.

See Also

Plugin Details

Severity: High

ID: 153898

File Name: al2_ALAS-2021-1711.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/6/2021

Updated: 10/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2021-27218


Risk Factor: Low

Score: 3.6


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: E:U/RL:OF/RC:C


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:glib2, p-cpe:/a:amazon:linux:glib2-debuginfo, p-cpe:/a:amazon:linux:glib2-devel, p-cpe:/a:amazon:linux:glib2-doc, p-cpe:/a:amazon:linux:glib2-fam, p-cpe:/a:amazon:linux:glib2-static, p-cpe:/a:amazon:linux:glib2-tests, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/4/2021

Vulnerability Publication Date: 2/15/2021

Reference Information

CVE: CVE-2021-27218

ALAS: 2021-1711