Heap-based buffer overflow in QEMU - CVE-2017-5931

 

Heap-based buffer overflow in QEMU - CVE-2017-5931

Published: March 27, 2017 / Updated: July 28, 2020


Vulnerability identifier: #VU32092
CSH Severity: High
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5931
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

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

QEMU
Gentoo Linux
qemu (Alpine package)

How to mitigate CVE-2017-5931

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

qemu (Alpine package) - addressed in versions 2.8.1-r1, 2.8.1.1-r0

External References

Related Security Bulletins