Rapid7 Vulnerability & Exploit Database

CentOS: (CVE-2013-4536) (Multiple Advisories): qemu-kvm

Back to Search

CentOS: (CVE-2013-4536) (Multiple Advisories): qemu-kvm

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
07/25/2014
Created
07/25/2018
Added
08/17/2018
Modified
08/17/2018

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From CESA-2014:0927:

KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on AMD64 and Intel 64 systems. The qemu-kvm package provides the user-space component for running virtual machines using KVM.

Two integer overflow flaws were found in the QEMU block driver for QCOW version 1 disk images. A user able to alter the QEMU disk image files loaded by a guest could use either of these flaws to corrupt QEMU process memory on the host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process. (CVE-2014-0222, CVE-2014-0223)

Multiple buffer overflow, input validation, and out-of-bounds write flaws were found in the way virtio, virtio-net, virtio-scsi, usb, and hpet drivers of QEMU handled state loading after migration. A user able to alter the savevm data (either on the disk or over the wire during migration) could use either of these flaws to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process. (CVE-2013-4148, CVE-2013-4149, CVE-2013-4150, CVE-2013-4151, CVE-2013-4527, CVE-2013-4529, CVE-2013-4535, CVE-2013-4536, CVE-2013-4541, CVE-2013-4542, CVE-2013-6399, CVE-2014-0182, CVE-2014-3461)

These issues were discovered by Michael S. Tsirkin, Anthony Liguori and Michael Roth of Red Hat: CVE-2013-4148, CVE-2013-4149, CVE-2013-4150, CVE-2013-4151, CVE-2013-4527, CVE-2013-4529, CVE-2013-4535, CVE-2013-4536, CVE-2013-4541, CVE-2013-4542, CVE-2013-6399, CVE-2014-0182, and CVE-2014-3461.

This update also fixes the following bugs:

Previously, QEMU did not free pre-allocated zero clusters correctly andthe clusters under some circumstances leaked. With this update,pre-allocated zero clusters are freed appropriately and the cluster leaksno longer occur. (BZ#1110188)Prior to this update, the QEMU command interface did not properly handleresizing of cache memory during guest migration, causing QEMU to terminateunexpectedly with a segmentation fault and QEMU to fail. This update fixesthe related code and QEMU no longer crashes in the described situation.(BZ#1110191)Previously, when a guest device was hot unplugged, QEMU correctly removedthe corresponding file descriptor watch but did not re-create it after thedevice was re-connected. As a consequence, the guest became unable toreceive any data from the host over this device. With this update, the filedescriptor's watch is re-created and the guest in the above scenario cancommunicate with the host as expected. (BZ#1110219)Previously, the QEMU migration code did not account for the gaps causedby hot unplugged devices and thus expected more memory to be transferredduring migrations. As a consequence, guest migration failed to completeafter multiple devices were hot unplugged. In addition, the migration infotext displayed erroneous values for the "remaining ram" item. With thisupdate, QEMU calculates memory after a device has been unplugged correctly,and any subsequent guest migrations proceed as expected. (BZ#1110189)

All qemu-kvm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, shut down all running virtual machines. Once all virtual machines have shut down, start them again for this update to take effect.

Solution(s)

  • centos-upgrade-libcacard
  • centos-upgrade-libcacard-devel
  • centos-upgrade-libcacard-tools
  • centos-upgrade-qemu-guest-agent
  • centos-upgrade-qemu-img
  • centos-upgrade-qemu-kvm
  • centos-upgrade-qemu-kvm-common
  • centos-upgrade-qemu-kvm-tools

References

  • centos-upgrade-libcacard
  • centos-upgrade-libcacard-devel
  • centos-upgrade-libcacard-tools
  • centos-upgrade-qemu-guest-agent
  • centos-upgrade-qemu-img
  • centos-upgrade-qemu-kvm
  • centos-upgrade-qemu-kvm-common
  • centos-upgrade-qemu-kvm-tools

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;