Buffer overflow in QEMU - CVE-2015-5225

 

Buffer overflow in QEMU - CVE-2015-5225

Published: August 5, 2020


Vulnerability identifier: #VU33990
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5225
CWE-ID: CWE-119
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the hypervisor.

Buffer overflow in the vnc_refresh_server_surface function in the VNC display driver in QEMU before 2.4.0.1 allows guest users to cause a denial of service (heap memory corruption and process crash) or possibly execute arbitrary code on the host via unspecified vectors, related to refreshing the server display surface.

Affected software

QEMU
Debian Linux
Ubuntu
Fedora
qemu (Alpine package)
qemu-kvm (Ubuntu package)
qemu-system-misc (Ubuntu package)
qemu-system-x86 (Ubuntu package)
qemu-system-sparc (Ubuntu package)
qemu-system-mips (Ubuntu package)
qemu-system-ppc (Ubuntu package)
qemu-system (Ubuntu package)
qemu-system-arm (Ubuntu package)
qemu-system-aarch64 (Ubuntu package)
qemu (Debian package)
qemu

How to mitigate CVE-2015-5225

Install updates from vendor's website.

QEMU - update to 2.4.0.1
qemu (Alpine package) - update to 2.1.3-r3
qemu-kvm (Ubuntu package) - update to 1.0+noroms-0ubuntu14.24
qemu-system-misc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.17, 1:2.2+dfsg-5expubuntu9.4
qemu-system-x86 (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-mips (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 (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-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-10.fc21, 2.3.1-2.fc22, 2.3.1-3.fc22, 2.4.0-2.fc23

External References

Related Security Bulletins