Alerts This Week
Warning Icon 1 916
Alerts This Week
Warning Icon 1 916

Red Hat: RHSA-2014:1268-01 Moderate Update: qemu-kvm-rhev Buffer Overflow

red hat
Calendar Grey September 22, 2014
Dist Redhat Esm H88
A careful qemu-kvm-rhev upgrade for Red Hat Enterprise resolves multiple vulnerabilities; it is recommended to update for optimal VM protection.
Updated qemu-kvm-rhev packages that fix multiple security issues are now available for Red Hat Enterprise Linux OpenStack Platform 5.0 for Red Hat Enterprise Linux 7

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/articles/11258

Summary

KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on AMD64 and Intel 64 systems. The qemu-kvm-rhev 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 supply a malicious image file to QEMU or to helper tools used in image conversion by services such as glance and nova could potentially use these flaws to cause memory corruption, resulting in a crash or possibly arbitrary code execution. (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)
Red Hat would like to thank NSA for reporting CVE-2014-0222 and CVE-2014-0223. The following 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.
All qemu-kvm-rhev 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.

References

https://access.redhat.com/security/cve/CVE-2013-4148 https://access.redhat.com/security/cve/CVE-2013-4149 https://access.redhat.com/security/cve/CVE-2013-4150 https://access.redhat.com/security/cve/CVE-2013-4151 https://access.redhat.com/security/cve/CVE-2013-4527 https://access.redhat.com/security/cve/CVE-2013-4529 https://access.redhat.com/security/cve/CVE-2013-4535 https://access.redhat.com/security/cve/CVE-2013-4536 https://access.redhat.com/security/cve/CVE-2013-4541 https://access.redhat.com/security/cve/CVE-2013-4542 https://access.redhat.com/security/cve/CVE-2013-6399 https://access.redhat.com/security/cve/CVE-2014-0182 https://access.redhat.com/security/cve/CVE-2014-0222 https://access.redhat.com/security/cve/CVE-2014-0223 https://access.redhat.com/security/cve/CVE-2014-3461 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux OpenStack Platform 5.0 for RHEL 7:
Source: qemu-kvm-rhev-1.5.3-60.el7_0.7.src.rpm
x86_64: libcacard-devel-rhev-1.5.3-60.el7_0.7.x86_64.rpm libcacard-rhev-1.5.3-60.el7_0.7.x86_64.rpm libcacard-tools-rhev-1.5.3-60.el7_0.7.x86_64.rpm qemu-img-rhev-1.5.3-60.el7_0.7.x86_64.rpm qemu-kvm-common-rhev-1.5.3-60.el7_0.7.x86_64.rpm qemu-kvm-rhev-1.5.3-60.el7_0.7.x86_64.rpm qemu-kvm-rhev-debuginfo-1.5.3-60.el7_0.7.x86_64.rpm qemu-kvm-tools-rhev-1.5.3-60.el7_0.7.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/#package


Advisory ID: RHSA-2014:1268-01
Product: Red Hat Enterprise Linux OpenStack Platform
Issue date: 2014-09-22

Topic

Updated qemu-kvm-rhev packages that fix multiple security issues are nowavailable for Red Hat Enterprise Linux OpenStack Platform 5.0 for Red HatEnterprise Linux 7.Red Hat Product Security has rated this update as having Moderate securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux OpenStack Platform 5.0 for RHEL 7 - x86_64

Bugs Fixed

1066334 - CVE-2013-4148 qemu: virtio-net: buffer overflow on invalid state load

1066337 - CVE-2013-4149 qemu: virtio-net: out-of-bounds buffer write on load

1066340 - CVE-2013-4150 qemu: virtio-net: out-of-bounds buffer write on invalid state load

1066342 - CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load

1066347 - CVE-2013-4527 qemu: hpet: buffer overrun on invalid state load

1066353 - CVE-2013-4529 qemu: hw/pci/pcie_aer.c: buffer overrun on invalid state load

1066361 - CVE-2013-6399 qemu: virtio: buffer overrun on incoming migration

1066382 - CVE-2013-4542 qemu: virtio-scsi: buffer overrun on invalid state load

1066384 - CVE-2013-4541 qemu: usb: insufficient sanity checking of setup_index+setup_len in post_load

1066401 - CVE-2013-4535 CVE-2013-4536 qemu: virtio: insufficient validation of num_sg when mapping

1088986 - CVE-2014-0182 qemu: virtio: out-of-bounds buffer write on state load with invalid config_len

1096821 - CVE-2014-3461 Qemu: usb: fix up post load checks

1097216 - CVE-2014-0222 Qemu: qcow1: validate L2 table size to avoid integer overflows

1097222 - CVE-2014-0223 Qemu: qcow1: validate image size to avoid out-of-bounds memory access

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here