CVE-2013-4296: Buffer Overflow
The 'stats' variable in remoteDispatchDomainMemoryStats function was not initialized to NULL, so if some early validation of the RPC call fails, it is possible to jump to the 'cleanup' label and VIRFREE an uninitialized pointer.
A remote user able to issue commands to libvirt daemon could use this flaw to crash libvirtd.
Acknowledgements:
This issue was discovered by Daniel P. Berrange of Red Hat.
Other sources
The remoteDispatchDomainMemoryStats function in daemon/remote.c in libvirt 0.9.1 through 0.10.1.x, 0.10.2.x before 0.10.2.8, 1.0.x before 1.0.5.6, and 1.1.x before 1.1.2 allows remote authenticated users to cause a denial of service (uninitialized pointer dereference and crash) via a crafted RPC call.
— MITRE
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2013-4296?
CVE-2013-4296 is considered to have moderate severity due to the potential for remote exploitation if certain conditions are met.
How do I fix CVE-2013-4296?
To fix CVE-2013-4296, users should upgrade to libvirt versions 0.9.14 or later, which addresses the uninitialized pointer issue.
What are the affected versions for CVE-2013-4296?
CVE-2013-4296 affects libvirt versions 0.9.1 through 0.9.13 and all versions prior to 0.9.14.
Who can exploit CVE-2013-4296?
A remote user with the ability to issue commands to the libvirt daemon can exploit CVE-2013-4296.
What type of vulnerability is CVE-2013-4296?
CVE-2013-4296 is a memory management issue, specifically related to the use of an uninitialized pointer in the libvirt daemon.