EulerOS Virtualization 3.0.2.2 : libvirt (EulerOS-SA-2020-2209)

high Nessus Plugin ID 141658

Synopsis

The remote EulerOS Virtualization host is missing multiple security updates.

Description

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

- qemu/qemu_driver.c in libvirt before 6.0.0 mishandles the holding of a monitor job during a query to a guest agent, which allows attackers to cause a denial of service (API blockage).(CVE-2019-20485)

- It was discovered that libvirtd before versions 4.10.1 and 5.4.1 would permit read-only clients to use the virDomainSaveImageGetXMLDesc() API, specifying an arbitrary path which would be accessed with the permissions of the libvirtd process. An attacker with access to the libvirtd socket could use this to probe the existence of arbitrary files, cause denial of service or cause libvirtd to execute arbitrary programs.(CVE-2019-10161)

- The virConnectGetDomainCapabilities() libvirt API, versions 4.x.x before 4.10.1 and 5.x.x before 5.4.1, accepts an 'emulatorbin' argument to specify the program providing emulation for a domain. Since v1.2.19, libvirt will execute that program to probe the domain's capabilities. Read-only clients could specify an arbitrary path for this argument, causing libvirtd to execute a crafted executable with its own privileges.(CVE-2019-10167)

- util/virlog.c in libvirt does not properly determine the hostname on LXC container startup, which allows local guest OS users to bypass an intended container protection mechanism and execute arbitrary commands via a crafted NSS module.(CVE-2018-6764)

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 libvirt packages.

See Also

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

Plugin Details

Severity: High

ID: 141658

File Name: EulerOS_SA-2020-2209.nasl

Version: 1.6

Type: local

Published: 10/21/2020

Updated: 1/6/2021

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

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

CVSS Score Source: CVE-2019-10161

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:libvirt, p-cpe:/a:huawei:euleros:libvirt-admin, p-cpe:/a:huawei:euleros:libvirt-client, p-cpe:/a:huawei:euleros:libvirt-daemon, p-cpe:/a:huawei:euleros:libvirt-daemon-config-network, p-cpe:/a:huawei:euleros:libvirt-daemon-config-nwfilter, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-interface, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-network, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-nodedev, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-nwfilter, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-qemu, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-secret, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-core, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-disk, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-gluster, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-iscsi, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-logical, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-mpath, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-rbd, p-cpe:/a:huawei:euleros:libvirt-daemon-driver-storage-scsi, p-cpe:/a:huawei:euleros:libvirt-daemon-kvm, p-cpe:/a:huawei:euleros:libvirt-docs, p-cpe:/a:huawei:euleros:libvirt-libs, cpe:/o:huawei:euleros:uvp:3.0.2.2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/21/2020

Reference Information

CVE: CVE-2018-6764, CVE-2019-10161, CVE-2019-10167, CVE-2019-20485