libvirt VirDomainGetVcpus() buffer overflow

libvirt-virdomaingetvcpus-bo (68271) The risk level is classified as HighHigh Risk

Description:

libvirt is vulnerable to a heap-based buffer overflow, caused by an integer overflow in the VirDomainGetVcpus() function. By sending an overly long request, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the libvirtd daemon to crash.

*CVSS:

Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of libvirt (0.9.3 or later), available from the libvirt Web site. See References.

References:

  • libvirt Web site: libvirt: The virtualization API.
  • Red Hat Web site: [libvirt] [PATCH 2/2] remote: protect against integer overflow.
  • BID-48478: libvirt 'VirDomainGetVcpus()' Function Remote Integer Overflow Heap Corruption Vulnerability
  • CVE-2011-2511: Integer overflow in libvirt before 0.9.3 allows remote authenticated users to cause a denial of service (libvirtd crash) and possibly execute arbitrary code via a crafted VirDomainGetVcpus RPC call that triggers memory corruption.
  • DSA-2280: libvirt -- several vulnerabilities
  • OSVDB ID: 73668: libvirt src/libvirt.c virDomainGetVcpus() Function Request Parsing Remote Overflow
  • RHSA-2011-1019: Moderate: libvirt security, bug fix, and enhancement update
  • RHSA-2011-1197: Moderate: libvirt security and bug fix update
  • SA44988: libvirt virDomainGetVcpus() Integer Overflow Vulnerability

Platforms Affected:

  • libvirt libvirt 0.9.2
  • RedHat Enterprise Linux 6 Workstation
  • RedHat Enterprise Linux 6 Server
  • RedHat Enterprise Linux Desktop 6
  • RedHat Enterprise Linux HPC Node 6
  • RedHat Enterprise Linux Server EUS 6.1.z
  • RedHat RHEL Desktop Multi OS 5 Client
  • RedHat RHEL Virtualization 5 Server

Reported:

Jun 24, 2011

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page