Skip to navigation

Security Advisory Low: libvirt security and bug fix update

Advisory: RHSA-2013:0127-1
Type: Security Advisory
Severity: Low
Issued on: 2013-01-08
Last updated on: 2013-01-08
Affected Products: RHEL Desktop Multi OS (v. 5 client)
RHEL Virtualization (v. 5 server)
CVEs (cve.mitre.org): CVE-2012-2693

Details

Updated libvirt packages that fix one security issue and several bugs are
now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

The libvirt library is a C API for managing and interacting with the
virtualization capabilities of Linux and other operating systems. In
addition, libvirt provides tools for remote management of virtualized
systems.

Bus and device IDs were ignored when attempting to attach multiple USB
devices with identical vendor or product IDs to a guest. This could result
in the wrong device being attached to a guest, giving that guest root
access to the device. (CVE-2012-2693)

This update also fixes the following bugs:

* Previously, the libvirtd library failed to set the autostart flags for
already defined QEMU domains. This bug has been fixed, and the domains can
now be successfully marked as autostarted. (BZ#675319)

* Prior to this update, the virFileAbsPath() function was not taking into
account the slash ("/") directory separator when allocating memory for
combining the cwd() function and a path. This behavior could lead to a
memory corruption. With this update, a transformation to the virAsprintff()
function has been introduced into virFileAbsPath(). As a result, the
aforementioned behavior no longer occurs. (BZ#680289)

* With this update, a man page of the virsh user interface has been
enhanced with information on the "domxml-from-native" and
"domxml-to-native" commands. A correct notation of the format argument has
been clarified. As a result, confusion is avoided when setting the format
argument in the described commands. (BZ#783001)

All users of libvirt are advised to upgrade to these updated packages,
which contain backported patches to correct these issues. After installing
the updated packages, libvirtd will be restarted automatically.


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/knowledge/articles/11258

Updated packages

RHEL Desktop Multi OS (v. 5 client)

SRPMS:
libvirt-0.8.2-29.el5.src.rpm
File outdated by:  RHBA-2013:0575
    MD5: 8adfef7871aaa3034a034d9550cd7bad
SHA-256: 44cbe1608c9f333999336489593c150d6dedd81653aef799ad28c4d472576d74
 
IA-32:
libvirt-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 450ae7524d1a08e3444f456330237f75
SHA-256: 8b85f082a388557a87c7f0fb0f660a6a672beba44899211dc8f8d2fe4374fdc0
libvirt-debuginfo-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 969f1847a7eba547f0b42bc334ddeef8
SHA-256: 714721b134efa4a340d219625b50186ecd751aa390a94c6edcca1343162e4611
libvirt-devel-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: a7317a5fe4e87a8bb0395b60c6f0e4e3
SHA-256: 3d5d45b66c20fb8b57c88a3afe46e08e9f774ad7b782f69b733b24fbc08fa6b4
libvirt-python-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: ce40ca0c2c680c75901cdb966d906022
SHA-256: 36fac9ed98452226c60ac9a146ec75ecd67acec01997632f3ea3ca89f34a9a1a
 
x86_64:
libvirt-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 450ae7524d1a08e3444f456330237f75
SHA-256: 8b85f082a388557a87c7f0fb0f660a6a672beba44899211dc8f8d2fe4374fdc0
libvirt-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 183ce44a430f442d54a4c41f3a4b237d
SHA-256: 3ee9cd8619b3527f2241565816d5c0cc7a967b04858aa77b54381437fb625f38
libvirt-debuginfo-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 969f1847a7eba547f0b42bc334ddeef8
SHA-256: 714721b134efa4a340d219625b50186ecd751aa390a94c6edcca1343162e4611
libvirt-debuginfo-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 710c1be59772c22ab15d8e318ee3b67b
SHA-256: 96fe5c0b822620b592a40d8580e623dd24ca7af1b9a04625c0dca355b6b5c3ca
libvirt-devel-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: a7317a5fe4e87a8bb0395b60c6f0e4e3
SHA-256: 3d5d45b66c20fb8b57c88a3afe46e08e9f774ad7b782f69b733b24fbc08fa6b4
libvirt-devel-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 0afb0bff3c9c625be701b57f56b2b66d
SHA-256: ce6106d716a2bd53d79898ac22e0e98abe3dd01ed62c1f90ba1a0b0baadf4504
libvirt-python-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 0c01bbdd1c72b393d6d1d0b4206aa50d
SHA-256: de914bba7ae1786c4c2d23788e90278850cb13c0846fd71720fac36f0df5d91f
 
RHEL Virtualization (v. 5 server)

SRPMS:
libvirt-0.8.2-29.el5.src.rpm
File outdated by:  RHBA-2013:0575
    MD5: 8adfef7871aaa3034a034d9550cd7bad
SHA-256: 44cbe1608c9f333999336489593c150d6dedd81653aef799ad28c4d472576d74
 
IA-32:
libvirt-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 450ae7524d1a08e3444f456330237f75
SHA-256: 8b85f082a388557a87c7f0fb0f660a6a672beba44899211dc8f8d2fe4374fdc0
libvirt-debuginfo-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 969f1847a7eba547f0b42bc334ddeef8
SHA-256: 714721b134efa4a340d219625b50186ecd751aa390a94c6edcca1343162e4611
libvirt-devel-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: a7317a5fe4e87a8bb0395b60c6f0e4e3
SHA-256: 3d5d45b66c20fb8b57c88a3afe46e08e9f774ad7b782f69b733b24fbc08fa6b4
libvirt-python-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: ce40ca0c2c680c75901cdb966d906022
SHA-256: 36fac9ed98452226c60ac9a146ec75ecd67acec01997632f3ea3ca89f34a9a1a
 
IA-64:
libvirt-0.8.2-29.el5.ia64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 44fe3e26831c759b9c6c1eac0269ad74
SHA-256: 7a064f9d09a39e4aa35002319244581e361dd9f65894f7536e3bec1c9a4da4de
libvirt-debuginfo-0.8.2-29.el5.ia64.rpm
File outdated by:  RHBA-2013:0575
    MD5: e373de83b01375d8c758608bd0c43323
SHA-256: a455d619808eb99adfb9347b07b9362fd8c53b8369902114fb7620a665b883f0
libvirt-devel-0.8.2-29.el5.ia64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 38122fc3b4ce9155e180e678efc3c853
SHA-256: 93d54bdc9953b17b56c1b39d51f3a186fcae0b11ea91f14e47e61def5061efef
libvirt-python-0.8.2-29.el5.ia64.rpm
File outdated by:  RHBA-2013:0575
    MD5: df3ba5668494d33c2674e89e08f6f01c
SHA-256: b511f6e548955f5e0ca254dd985ecfd563d713a34bc8dffdbeed8438786edf38
 
x86_64:
libvirt-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 450ae7524d1a08e3444f456330237f75
SHA-256: 8b85f082a388557a87c7f0fb0f660a6a672beba44899211dc8f8d2fe4374fdc0
libvirt-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 183ce44a430f442d54a4c41f3a4b237d
SHA-256: 3ee9cd8619b3527f2241565816d5c0cc7a967b04858aa77b54381437fb625f38
libvirt-debuginfo-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: 969f1847a7eba547f0b42bc334ddeef8
SHA-256: 714721b134efa4a340d219625b50186ecd751aa390a94c6edcca1343162e4611
libvirt-debuginfo-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 710c1be59772c22ab15d8e318ee3b67b
SHA-256: 96fe5c0b822620b592a40d8580e623dd24ca7af1b9a04625c0dca355b6b5c3ca
libvirt-devel-0.8.2-29.el5.i386.rpm
File outdated by:  RHBA-2013:0575
    MD5: a7317a5fe4e87a8bb0395b60c6f0e4e3
SHA-256: 3d5d45b66c20fb8b57c88a3afe46e08e9f774ad7b782f69b733b24fbc08fa6b4
libvirt-devel-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 0afb0bff3c9c625be701b57f56b2b66d
SHA-256: ce6106d716a2bd53d79898ac22e0e98abe3dd01ed62c1f90ba1a0b0baadf4504
libvirt-python-0.8.2-29.el5.x86_64.rpm
File outdated by:  RHBA-2013:0575
    MD5: 0c01bbdd1c72b393d6d1d0b4206aa50d
SHA-256: de914bba7ae1786c4c2d23788e90278850cb13c0846fd71720fac36f0df5d91f
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

675319 - qemu guests autostart problem
680289 - off-by-one in virFileAbsPath can lead to memory corruption [5.7]
772821 - Coverity scan revealed defects
772848 - Coverity scan founds some new resource leaks and NULL pointer dereference
783001 - Need to improve virsh domxml-*-native command docs
831164 - CVE-2012-2693 libvirt: address bus= device= when identicle vendor ID/product IDs usb devices attached are ignored


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/