Input validation error in QEMU - CVE-2015-4037
Published: August 26, 2015 / Updated: August 4, 2020
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
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
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
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160058.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160414.html
- http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00027.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00015.html
- http://lists.opensuse.org/opensuse-updates/2015-11/msg00063.html
- http://www.debian.org/security/2015/dsa-3284
- http://www.debian.org/security/2015/dsa-3285
- http://www.openwall.com/lists/oss-security/2015/05/13/7
- http://www.openwall.com/lists/oss-security/2015/05/16/5
- http://www.openwall.com/lists/oss-security/2015/05/23/4
- http://www.securityfocus.com/bid/74809
- http://www.securitytracker.com/id/1032547
- http://www.ubuntu.com/usn/USN-2630-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1222892