-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2011.0868
               Moderate: libvirt security and bug fix update
                              24 August 2011

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libvirt
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-2511  

Reference:         ESB-2011.0757
                   ESB-2011.0742

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2011-1197.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: libvirt security and bug fix update
Advisory ID:       RHSA-2011:1197-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-1197.html
Issue date:        2011-08-23
CVE Names:         CVE-2011-2511 
=====================================================================

1. Summary:

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

The Red Hat Security Response Team has rated this update as having moderate
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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

3. Description:

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 remotely managing virtualized systems.

An integer overflow flaw was found in libvirtd's RPC call handling. An
attacker able to establish read-only connections to libvirtd could trigger
this flaw by calling virDomainGetVcpus() with specially-crafted parameters,
causing libvirtd to crash. (CVE-2011-2511)

This update also fixes the following bugs:

* Previously, when the "virsh vol-create-from" command was run on an LVM
(Logical Volume Manager) storage pool, performance of the command was very
low and the operation consumed an excessive amount of time. This bug has
been fixed in the virStorageVolCreateXMLFrom() function, and the
performance problem of the command no longer occurs.

* Due to a regression, libvirt used undocumented command line options,
instead of the recommended ones. Consequently, the qemu-img utility used an
invalid argument while creating an encrypted volume, and the process
eventually failed. With this update, the bug in the backing format of the
storage back end has been fixed, and encrypted volumes can now be created
as expected. (BZ#726617)

* Due to a bug in the qemuAuditDisk() function, hot unplug failures were
never audited, and a hot unplug success was audited as a failure. This bug
has been fixed, and auditing of disk hot unplug operations now works as
expected. (BZ#728516)

* Previously, when a debug process was being activated, the act of
preparing a debug message ended up with dereferencing a UUID (universally
unique identifier) prior to the NULL argument check. Consequently, an API
running the debug process sometimes terminated with a segmentation fault.
With this update, a patch has been provided to address this issue, and the
crashes no longer occur in the described scenario. (BZ#728546)

* The libvirt library uses the "boot=on" option to mark which disk is
bootable but it only uses that option if Qemu advertises its support. The
qemu-kvm utility in Red Hat Enterprise Linux 6.1 removed support for that
option and libvirt could not use it. As a consequence, when an IDE disk was
added as the second storage with a virtio disk being set up as the first
one by default, the operating system tried to boot from the IDE disk rather
than the virtio disk and either failed to boot with the "No bootable disk"
error message returned, or the system booted whatever operating system was
on the IDE disk. With this update, the boot configuration is translated
into bootindex, which provides control over which device is used for
booting a guest operating system, thus fixing this bug.

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 must be restarted ("service libvirtd
restart") for this update to take effect.

4. 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/kb/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

717199 - CVE-2011-2511 libvirt: integer overflow in VirDomainGetVcpus
726617 - libvirt regression with creating encrypted volume
728516 - Auditing of QEMU driver disk hotunplug events logs is missing and/or incorrect
728546 - [libvirt] [logs] null dereference while preparing libvirt logs

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

i386:
libvirt-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-python-0.8.7-18.el6_1.1.i686.rpm

x86_64:
libvirt-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-python-0.8.7-18.el6_1.1.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

i386:
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm

x86_64:
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

x86_64:
libvirt-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-python-0.8.7-18.el6_1.1.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

x86_64:
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

i386:
libvirt-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-python-0.8.7-18.el6_1.1.i686.rpm

ppc64:
libvirt-0.8.7-18.el6_1.1.ppc64.rpm
libvirt-client-0.8.7-18.el6_1.1.ppc.rpm
libvirt-client-0.8.7-18.el6_1.1.ppc64.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.ppc.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.ppc64.rpm
libvirt-devel-0.8.7-18.el6_1.1.ppc.rpm
libvirt-devel-0.8.7-18.el6_1.1.ppc64.rpm
libvirt-python-0.8.7-18.el6_1.1.ppc64.rpm

s390x:
libvirt-0.8.7-18.el6_1.1.s390x.rpm
libvirt-client-0.8.7-18.el6_1.1.s390.rpm
libvirt-client-0.8.7-18.el6_1.1.s390x.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.s390.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.s390x.rpm
libvirt-devel-0.8.7-18.el6_1.1.s390.rpm
libvirt-devel-0.8.7-18.el6_1.1.s390x.rpm
libvirt-python-0.8.7-18.el6_1.1.s390x.rpm

x86_64:
libvirt-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-python-0.8.7-18.el6_1.1.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libvirt-0.8.7-18.el6_1.1.src.rpm

i386:
libvirt-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-python-0.8.7-18.el6_1.1.i686.rpm

x86_64:
libvirt-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-client-0.8.7-18.el6_1.1.i686.rpm
libvirt-client-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.i686.rpm
libvirt-debuginfo-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-devel-0.8.7-18.el6_1.1.i686.rpm
libvirt-devel-0.8.7-18.el6_1.1.x86_64.rpm
libvirt-python-0.8.7-18.el6_1.1.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

7. References:

https://www.redhat.com/security/data/cve/CVE-2011-2511.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2011 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD4DBQFOU730XlSAg2UNWIIRAsorAJiH2nLKrFKzE6Nipl948A/sMkwQAJ4sME1x
aG3oAPAIDOjm2bf+/TwzdA==
=zho7
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBTlRYn+4yVqjM2NGpAQJTBw//cB57jLchAS8y2OU9zZc3+Z/az85HrihO
VKX6RUXVAm2P6JXxIaBRCNXgYYa2kfr1I5kQ88zu7+z76IgkZmKwIjlG3E4Hw8YQ
QRp/mV7+tudHjD/2DTjzPGmSLlKdh1R8LxhCUKW5UURZaC2aLB4NShRkMI/ai/sM
ZzrHXBLqATkClIF7oGrlQ/lRPSBXDVvTw0+xyYdDB48mMqK1QLAEtAe8LaYC0pR2
etUR2pH9+f5XoT3McUqyllMKph/UB/c2UJj+SJnls55lRNrLysKB+w+T8kNBV59J
r9OnmLkBLMm1Yay3CDo4Nc98wXKFYwYgaIAu9NkOMhOv91rD41aW6qjrUMem+7PO
F8RdUP+KO4au8vT1ld1XKBDov6XnRqU8R+UvwvfbKBfMgpFfr+XE3ElfyRE21+sw
hvMdezfZvOfJJHgKbStDgkYo2tJFcA30a7/echL4GrY7LIazLGDixKSfyIiIrnZC
/u/Jtt6oieNhOs9mT6g+hPa69hAHSFP8rruHUeKQPjFz/uW+Zv66JwOgo1qn6nEf
hgwp/3Qs8ox8HdTjAPQS5uSdlIrzcH91UzEX2xxaHG6tmarduiC/UjtGWyqJshr8
jo+g75wKJmZMzYLYRwri9kI2g9TJcrN4dWO9P/I5Mixx20cwZS0+nW7KdfUJS0Zm
+6nnquINqqs=
=zRnm
-----END PGP SIGNATURE-----