CVE-2014-5263: Buffer Overflow
It was found that vmstatexhcievent field list was missing VMSTATEENDOFLIST() terminator and traversing through this list would result in out-of-bounds access during vm state saving and loading.
Depending on how vmstatexhcievent is placed in the qemu binary, this issue can range from non-issue, infinite loop to (potentially) privilege escalation in case the we end up with fields that have info and/or fieldexist members initialized in a way that is useful for exploitation (most probably unlikely).
In the worst case, attacker able to alter the migration data could use this flaw to to corrupt QEMU process memory.
Upstream commit: http://git.qemu.org/?p=qemu.git;a=commit;h=3afca1d6d413592c2b78cf28f52fa24a586d8f56
Other sources
vmstatexhcievent in hw/usb/hcd-xhci.c in QEMU 1.6.0 does not terminate the list with the VMSTATEENDOFLIST macro, which allows attackers to cause a denial of service (out-of-bounds access, infinite loop, and memory corruption) and possibly gain privileges via unspecified vectors.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2014-5263?
CVE-2014-5263 has been classified with a medium severity due to potential out-of-bounds access.
How do I fix CVE-2014-5263?
To fix CVE-2014-5263, update QEMU to a version that includes the patch addressing the missing VMSTATE_END_OF_LIST() terminator.
Which versions of QEMU are affected by CVE-2014-5263?
CVE-2014-5263 specifically affects QEMU version 1.6.0.
What are the potential impacts of CVE-2014-5263?
The impact of CVE-2014-5263 includes possible crashes or unexpected behavior due to out-of-bounds memory access.
Is there a workaround for CVE-2014-5263?
There are no reported workarounds for CVE-2014-5263; updating to a secure version is recommended.