Stack-based buffer overflow in QEMU - CVE-2015-5158

 

Stack-based buffer overflow in QEMU - CVE-2015-5158

Published: April 12, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40396
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5158
CWE-ID: CWE-121
Exploitation vector: Remote 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 when processing an invalid opcode in a SCSI command descriptor block. A remote unauthenticated attacker can trigger stack-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
Ubuntu
Fedora
qemu-system-ppc (Ubuntu package)
qemu-system (Ubuntu package)
qemu-system-sparc (Ubuntu package)
qemu-system-misc (Ubuntu package)
qemu-system-mips (Ubuntu package)
qemu-system-arm (Ubuntu package)
qemu-system-x86 (Ubuntu package)
qemu-system-aarch64 (Ubuntu package)
qemu
app-emulation/qemu

How to mitigate CVE-2015-5158

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

qemu-system-ppc (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-sparc (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-mips (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-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.3.0-7.fc22, 2.3.1-1.fc22, 2.4.0-0.2.rc4.fc23, 2.4.0-1.fc23
app-emulation/qemu - update to 2.3.0-r4

External References

Related Security Bulletins