Gentoo: 201309-18 libvirt: Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Multiple vulnerabilities have been found in libvirt, allowing remote attackers to execute arbitrary code or cause Denial of Service.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201309-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: libvirt: Multiple vulnerabilities
     Date: September 25, 2013
     Bugs: #454588, #470096
       ID: 201309-18

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been found in libvirt, allowing remote
attackers to execute arbitrary code or cause Denial of Service.

Background
==========

libvirt is a C toolkit for manipulating virtual machines.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  app-emulation/libvirt      < 1.0.5.1-r3            >= 1.0.5.1-r3

Description
===========

An error in the virNetMessageFree() function in
rpc/virnetserverclient.c can lead to a use-after-free. Additionally, a
socket leak in the remoteDispatchStoragePoolListAllVolumes command can
lead to file descriptor exhaustion.

Impact
======

A remote attacker could cause certain errors during an RPC connection
to cause a message to be freed without being removed from the message
queue, possibly resulting in execution of arbitrary code or a Denial of
Service condition. Additionally, a remote attacker could repeatedly
issue the command to list all pool volumes, causing a Denial of Service
condition.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All libvirt users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot -v ">=app-emulation/libvirt-1.0.5.1-r3"

References
==========

[ 1 ] CVE-2013-0170
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-0170
[ 2 ] CVE-2013-1962
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1962

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 http://security.gentoo.org/glsa/glsa-201309-18.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License

Copyright 2013 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5