Rapid7 Vulnerability & Exploit Database

RHSA-2011:0391: libvirt security update

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

RHSA-2011:0391: libvirt security update



The libvirt library is a C API for managing and interacting with thevirtualization capabilities of Linux and other operating systems. Inaddition, libvirt provides tools for remotely managing virtualized systems.It was found that several libvirt API calls did not honor the read-onlypermission for connections. A local attacker able to establish a read-onlyconnection to libvirtd on a server could use this flaw to execute commandsthat should be restricted to read-write connections, possibly leading to adenial of service or privilege escalation. (CVE-2011-1146)Note: Previously, using rpmbuild without the '--define "rhel 5"' option tobuild the libvirt source RPM on Red Hat Enterprise Linux 5 failed with a"Failed build dependencies" error for the device-mapper-devel package, asthis -devel sub-package is not available on Red Hat Enterprise Linux 5.With this update, the -devel sub-package is no longer checked by default asa dependency when building on Red Hat Enterprise Linux 5, allowing thelibvirt source RPM to build as expected.All libvirt users are advised to upgrade to these updated packages, whichcontain a backported patch to resolve this issue. After installing theupdated packages, libvirtd must be restarted ("service libvirtd restart")for this update to take effect.


  • redhat-upgrade-libvirt
  • redhat-upgrade-libvirt-client
  • redhat-upgrade-libvirt-debuginfo
  • redhat-upgrade-libvirt-devel
  • redhat-upgrade-libvirt-python

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center