Alibaba Cloud Linux 3 : 0055: glib2 (ALINUX3-SA-2021:0055)

high Nessus Plugin ID 236432

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2021:0055 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2019-13012:
The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL).
Consequently, it does not properly restrict directory (and file) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450.

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

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.

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

Solution

Update the affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20210055.xml

Plugin Details

Severity: High

ID: 236432

File Name: alinux3_sa_2021-0055.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2019-13012

CVSS v3

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:H/A:N

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

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-debuginfo, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-fam-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-tests, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-static, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-tests-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-devel-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-doc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:glib2-fam

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/11/2021

Vulnerability Publication Date: 6/28/2019

Reference Information

CVE: CVE-2019-13012, CVE-2021-27218