Heap-based buffer overflow in QEMU - CVE-2015-5154

 

Heap-based buffer overflow in QEMU - CVE-2015-5154

Published: August 12, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32399
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5154
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 Heap-based buffer overflow in the IDE subsystem in QEMU, as used in Xen 4.5.x and earlier, when the container has a CDROM drive enabled,. A remote attacker can use unspecified ATAPI commands. 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
Fedora
SUSE Linux
Ubuntu
qemu (Alpine package)
xen (Alpine package)
qemu-system-ppc (Ubuntu package)
qemu-system-arm (Ubuntu package)
qemu-system-misc (Ubuntu package)
qemu-system-sparc (Ubuntu package)
qemu-system (Ubuntu package)
qemu-system-mips (Ubuntu package)
qemu-system-x86 (Ubuntu package)
qemu-system-aarch64 (Ubuntu package)
qemu
xen
app-emulation/qemu

How to mitigate CVE-2015-5154

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

qemu (Alpine package) - update to 2.1.3-r2
xen (Alpine package) - update to 4.5.1-r2
qemu-system-ppc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-arm (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-misc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-sparc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-mips (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-x86 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu-system-aarch64 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.15, 1:2.2+dfsg-5expubuntu9.3
qemu - addressed in versions 2.0.0-1.el7.6, 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.2-9.fc21, 4.5.1-5.fc22, 4.5.1-5.fc23
app-emulation/qemu - update to 2.3.0-r4

External References

Related Security Bulletins