Buffer overflow in QEMU - CVE-2015-5745
Published: August 5, 2020
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on the hypervisor system.
The vulnerability exists due to a boundary error in the send_control_msg function in hw/char/virtio-serial-bus.c in QEMU. A remote user can pass a specially crafted virtio control message, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Ubuntu
Fedora
qemu-kvm (Ubuntu package)
qemu-kvm (Debian package)
qemu-system-x86 (Ubuntu package)
qemu-system-mips (Ubuntu package)
qemu-system-sparc (Ubuntu package)
qemu-system-misc (Ubuntu package)
qemu-system (Ubuntu package)
qemu-system-arm (Ubuntu package)
qemu-system-ppc (Ubuntu package)
qemu-system-aarch64 (Ubuntu package)
qemu (Debian package)
qemu
xen
How to mitigate CVE-2015-5745
qemu-kvm (Ubuntu package) - update to 1.0+noroms-0ubuntu14.24
qemu-kvm (Debian package) - update to 1.1.2+dfsg-6+deb7u9
qemu-system-x86 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-mips (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-sparc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-misc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-arm (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-ppc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-aarch64 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu (Debian package) - update to 1:2.1+dfsg-12+deb8u2
qemu - addressed in versions 2.1.3-9.fc21, 2.3.0-7.fc22, 2.3.1-1.fc22, 2.4.0-0.2.rc4.fc23, 2.4.0-1.fc23
xen - addressed in versions 4.4.3-4.fc21, 4.5.1-9.fc22, 4.5.1-9.fc23
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-October/168077.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-October/168646.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-October/168671.html
- http://www.openwall.com/lists/oss-security/2015/08/06/3
- http://www.openwall.com/lists/oss-security/2015/08/06/5
- https://github.com/qemu/qemu/commit/7882080388be5088e72c425b02223c02e6cb4295
- https://lists.gnu.org/archive/html/qemu-devel/2015-07/msg05458.html
Related Security Bulletins
- Buffer overflow in QEMU
- Fedora 23 update for qemu
- Fedora 22 update for qemu
- Fedora 21 update for qemu
- Fedora 23 update for qemu
- Fedora 22 update for qemu
- Fedora 23 update for xen
- Fedora 22 update for xen
- Fedora 21 update for xen
- Ubuntu update for qemu, qemu-kvm
- DSA-3349-1: qemu-kvm - security update
- DSA-3348-1: qemu - security update