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

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

                               ESB-2012.0983
               Moderate: libvirt security and bug fix update
                              12 October 2012

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

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

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

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2012-1359.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running libvirt check for an updated version of the software for 
         their operating system.

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

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

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

Synopsis:          Moderate: libvirt security and bug fix update
Advisory ID:       RHSA-2012:1359-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1359.html
Issue date:        2012-10-11
CVE Names:         CVE-2012-4423 
=====================================================================

1. Summary:

Updated libvirt packages that fix one security issue and multiple 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 Server Optional (v. 6) - x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - 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 remote management of virtualized
systems.

A flaw was found in libvirtd's RPC call handling. An attacker able to
establish a read-only connection to libvirtd could use this flaw to crash
libvirtd by sending an RPC message that has an event as the RPC number, or
an RPC number that falls into a gap in the RPC dispatch table.
(CVE-2012-4423)

This issue was discovered by Wenlong Huang of the Red Hat Virtualization QE
Team.

This update also fixes the following bugs:

* When the host_uuid option was present in the libvirtd.conf file, the
augeas libvirt lens was unable to parse the file. This bug has been fixed
and the augeas libvirt lens now parses libvirtd.conf as expected in the
described scenario. (BZ#858988)

* Disk hot plug is a two-part action: the qemuMonitorAddDrive() call is
followed by the qemuMonitorAddDevice() call. When the first part succeeded
but the second one failed, libvirt failed to roll back the first part and
the device remained in use even though the disk hot plug failed. With this
update, the rollback for the drive addition is properly performed in the
described scenario and disk hot plug now works as expected. (BZ#859376)

* When a virtual machine was started with an image chain using block
devices and a block rebase operation was issued, the operation failed on
completion in the blockJobAbort() function. This update relabels and
configures cgroups for the backing files and the rebase operation now
succeeds. (BZ#860720)

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.

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

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

857133 - CVE-2012-4423 libvirt: null function pointer invocation in virNetServerProgramDispatchCall()
858988 - The libvirt augeas lens can't parse a libvirtd.conf file where host_uuid is present
859376 - after failed hotplug qemu keeps the file descriptor open
860720 - Relabel and configure cgroups for the backing files on VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOT

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.9.10-21.el6_3.5.src.rpm

i386:
libvirt-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-python-0.9.10-21.el6_3.5.i686.rpm

x86_64:
libvirt-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-python-0.9.10-21.el6_3.5.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.9.10-21.el6_3.5.src.rpm

i386:
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm

x86_64:
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-lock-sanlock-0.9.10-21.el6_3.5.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.9.10-21.el6_3.5.src.rpm

x86_64:
libvirt-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-python-0.9.10-21.el6_3.5.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.9.10-21.el6_3.5.src.rpm

x86_64:
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-lock-sanlock-0.9.10-21.el6_3.5.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.9.10-21.el6_3.5.src.rpm

i386:
libvirt-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-python-0.9.10-21.el6_3.5.i686.rpm

ppc64:
libvirt-0.9.10-21.el6_3.5.ppc64.rpm
libvirt-client-0.9.10-21.el6_3.5.ppc.rpm
libvirt-client-0.9.10-21.el6_3.5.ppc64.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.ppc.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.ppc64.rpm
libvirt-devel-0.9.10-21.el6_3.5.ppc.rpm
libvirt-devel-0.9.10-21.el6_3.5.ppc64.rpm
libvirt-python-0.9.10-21.el6_3.5.ppc64.rpm

s390x:
libvirt-0.9.10-21.el6_3.5.s390x.rpm
libvirt-client-0.9.10-21.el6_3.5.s390.rpm
libvirt-client-0.9.10-21.el6_3.5.s390x.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.s390.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.s390x.rpm
libvirt-devel-0.9.10-21.el6_3.5.s390.rpm
libvirt-devel-0.9.10-21.el6_3.5.s390x.rpm
libvirt-python-0.9.10-21.el6_3.5.s390x.rpm

x86_64:
libvirt-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-python-0.9.10-21.el6_3.5.x86_64.rpm

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

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/libvirt-0.9.10-21.el6_3.5.src.rpm

x86_64:
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-lock-sanlock-0.9.10-21.el6_3.5.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.9.10-21.el6_3.5.src.rpm

i386:
libvirt-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-python-0.9.10-21.el6_3.5.i686.rpm

x86_64:
libvirt-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-client-0.9.10-21.el6_3.5.i686.rpm
libvirt-client-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.i686.rpm
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-devel-0.9.10-21.el6_3.5.i686.rpm
libvirt-devel-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-python-0.9.10-21.el6_3.5.x86_64.rpm

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

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/libvirt-0.9.10-21.el6_3.5.src.rpm

x86_64:
libvirt-debuginfo-0.9.10-21.el6_3.5.x86_64.rpm
libvirt-lock-sanlock-0.9.10-21.el6_3.5.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-2012-4423.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 2012 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFQdsnMXlSAg2UNWIIRAu4dAJ9+GjZw8oawTlRk7hO8CHg8o55BYgCfdW61
pgDEiHRfDIwNm4/l4w3U3gE=
=rs7W
- -----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

iQIVAwUBUHeH9u4yVqjM2NGpAQJn1RAAipI4RUPP3dEb0G96LkBO+e0F/+9dD3nx
q5OWUH5V4AZHp0Vdfq7q8OWAlbu0NyATxOGOL7/vZHXESoJSw5AG6gs9z8EmOZ8B
oyN5xtzuxysETR67KB5v50B/WnGuzsZnDrYWJADsN6C1yqbzM0g+vrx+V0Ppeb18
McDS6PlXYoGFGscmqN7MR0DKgB8iJeSzoUgr1vcuB6Kg5RNuwLMX8Oh7f5jzwX1z
0MEtgqIWcMQwR75B1FsXkOSkPLZVSrXvne7rbuaCbx0f8dcAAUozYrKEWd8JjqEW
HcgL/SUWWjh52k8wE9yriFxa9JOOlr4sTCg4YZ7hbMw/43v6lx+nrk6+uam8Jb2Z
MGth+LhsB9b4BWv3eOserOzzGhynlMULDwfGToBahp6pkyJ8xoTYrRpn7PVoUxr+
zFldoeefcMWUUGMlli6Z3scjS14rimJeLmjrkgcwvD/ohTJh43j4FmmvewqF7xDA
ZHEmuk7Zn0HAcDryIayra0jmlFZYm4yZCVYR4Wei7h+FdVJvtrAZFfdkT+Nb9qBn
vyBFhhN2sfqkY1DnG+cw+IE7JiMoIIK03RdroKpuJ5RtkGDRwiZqVhx5S+0NLMRw
2S47i7UBcQ52rytUIyJo9GN7Uc+R+wTzxkdfOSqxmXZrfMnbj7P6lyP2wzhu2FoT
0CBx6EtTHxo=
=zeYP
-----END PGP SIGNATURE-----