Scientific Linux Security Update : libvirt on SL7.x x86_64 (20150305)

low Nessus Plugin ID 82257

Synopsis

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

Description

It was found that QEMU's qemuDomainMigratePerform() and qemuDomainMigrateFinish2() functions did not correctly perform a domain unlock on a failed ACL check. A remote attacker able to establish a connection to libvirtd could use this flaw to lock a domain of a more privileged user, causing a denial of service.
(CVE-2014-8136)

It was discovered that the virDomainSnapshotGetXMLDesc() and virDomainSaveImageGetXMLDesc() functions did not sufficiently limit the usage of the VIR_DOMAIN_XML_SECURE flag when fine-grained ACLs were enabled. A remote attacker able to establish a connection to libvirtd could use this flaw to obtain certain sensitive information from the domain XML file. (CVE-2015-0236)

Bug fixes :

- The libvirtd daemon previously attempted to search for SELinux contexts even when SELinux was disabled on the host. Consequently, libvirtd logged 'Unable to lookup SELinux process context' error messages every time a client connected to libvirtd and SELinux was disabled.
libvirtd now verifies whether SELinux is enabled before searching for SELinux contexts, and no longer logs the error messages on a host with SELinux disabled.

- The libvirt utility passed incomplete PCI addresses to QEMU. Consequently, assigning a PCI device that had a PCI address with a non- zero domain to a guest failed.
Now, libvirt properly passes PCI domain to QEMU when assigning PCI devices, which prevents the described problem.

- Because the virDomainSetMaxMemory API did not allow changing the current memory in the LXC driver, the 'virsh setmaxmem' command failed when attempting to set the maximum memory to be lower than the current memory.
Now, 'virsh setmaxmem' sets the current memory to the intended value of the maximum memory, which avoids the mentioned problem.

- Attempting to start a non-existent domain caused network filters to stay locked for read-only access. Because of this, subsequent attempts to gain read-write access to network filters triggered a deadlock. Network filters are now properly unlocked in the described scenario, and the deadlock no longer occurs.

- If a guest configuration had an active nwfilter using the DHCP snooping feature and an attempt was made to terminate libvirtd before the associated nwfilter rule snooped the guest IP address from DHCP packets, libvirtd became unresponsive. This problem has been fixed by setting a longer wait time for snooping the guest IP address.

Enhancements :

- A new 'migrate_host' option is now available in /etc/libvirt/qemu.conf, which allows users to set a custom IP address to be used for incoming migrations.

- With this update, libvirt is able to create a compressed memory-only crash dump of a QEMU domain. This type of crash dump is directly readable by the GNU Debugger and requires significantly less hard disk space than the standard crash dump.

- Support for reporting the NUMA node distance of the host has been added to libvirt. This enhances the current libvirt capabilities for reporting NUMA topology of the host, and allows for easier optimization of new domains.

- The XML file of guest and host capabilities generated by the 'virsh capabilities' command has been enhanced to list the following information, where relevant: the interface speed and link status of the host, the PCI Express (PCIe) details, the host's hardware support for I/O virtualization, and a report on the huge memory pages.

These packages also include a number of other bug fixes and enhancements.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?7bb1933c

Plugin Details

Severity: Low

ID: 82257

File Name: sl_20150305_libvirt_on_SL7_x.nasl

Version: 1.5

Type: local

Agent: unix

Published: 3/26/2015

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Low

Base Score: 3.5

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:libvirt, p-cpe:/a:fermilab:scientific_linux:libvirt-client, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-config-network, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-config-nwfilter, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-interface, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-lxc, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-network, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-nodedev, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-nwfilter, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-qemu, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-secret, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-driver-storage, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-kvm, p-cpe:/a:fermilab:scientific_linux:libvirt-daemon-lxc, p-cpe:/a:fermilab:scientific_linux:libvirt-debuginfo, p-cpe:/a:fermilab:scientific_linux:libvirt-devel, p-cpe:/a:fermilab:scientific_linux:libvirt-docs, p-cpe:/a:fermilab:scientific_linux:libvirt-lock-sanlock, p-cpe:/a:fermilab:scientific_linux:libvirt-login-shell, x-cpe:/o:fermilab:scientific_linux

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

Patch Publication Date: 3/5/2015

Vulnerability Publication Date: 12/19/2014

Reference Information

CVE: CVE-2014-8136, CVE-2015-0236