Input validation error in QEMU - CVE-2015-4037

 

Input validation error in QEMU - CVE-2015-4037

Published: August 26, 2015 / Updated: August 4, 2020


Vulnerability identifier: #VU33813
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-4037
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

The slirp_smb function in net/slirp.c in QEMU 2.3.0 and earlier creates temporary files with predictable names, which allows local users to cause a denial of service (instantiation failure) by creating /tmp/qemu-smb.*-* files before the program.


Affected software

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

How to mitigate CVE-2015-4037

Install update from vendor's website.

QEMU - update to 2.3.1
qemu (Alpine package) - update to 1.6.2-r5
qemu-kvm (Ubuntu package) - update to 1.0+noroms-0ubuntu14.23
qemu-system-ppc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-sparc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-arm (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-misc (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-mips (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-x86 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu-system-aarch64 (Ubuntu package) - addressed in versions 2.0.0+dfsg-2ubuntu1.13, 2.1+dfsg-4ubuntu6.7, 1:2.2+dfsg-5expubuntu9.2
qemu - addressed in versions 2.1.3-8.fc21, 2.3.0-5.fc22

External References

Related Security Bulletins