EulerOS 2.0 SP8 : glib2 (EulerOS-SA-2019-2077)

High Nessus Plugin ID 129436

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the glib2 packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while a copy operation is in progress.
Instead, default permissions are used.(CVE-2019-12450)

- 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.(CVE-2019-13012)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected glib2 packages.

See Also

http://www.nessus.org/u?a0243b2f

Plugin Details

Severity: High

ID: 129436

File Name: EulerOS_SA-2019-2077.nasl

Version: 1.1

Type: local

Published: 2019/09/30

Updated: 2019/09/30

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:glib2, p-cpe:/a:huawei:euleros:glib2-devel, p-cpe:/a:huawei:euleros:glib2-fam, p-cpe:/a:huawei:euleros:glib2-tests, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Patch Publication Date: 2019/09/29

Reference Information

CVE: CVE-2019-12450, CVE-2019-13012