Heap-based buffer overflow in QEMU - CVE-2017-5931
Published: March 27, 2017 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator). A remote attacker can use a crafted virtio-crypto request to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
qemu (Alpine package)
How to mitigate CVE-2017-5931
External References
- http://git.qemu-project.org/?p=qemu.git;a=commit;h=a08aaff811fb194950f79711d2afe5a892ae03a4
- http://www.openwall.com/lists/oss-security/2017/02/08/2
- http://www.securityfocus.com/bid/96141
- https://bugzilla.redhat.com/show_bug.cgi?id=1420092
- https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html
- https://security.gentoo.org/glsa/201702-28