Bug 1222892 (CVE-2015-4037)

Summary: CVE-2015-4037 qemu: insecure temporary file use in /net/slirp.c
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, amit.shah, aortega, apevec, areis, ayoung, berrange, cfergeau, chrisw, dallan, dwmw2, ehabkost, gkotton, itamar, knoel, lhh, lpeer, markmc, mkenneth, mrezanin, mtosatti, pbonzini, ppandit, rbalakri, rbryant, rjones, rpacheco, sclewis, scottt.tw, virt-maint, virt-maint, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-26 17:43:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1222894    
Bug Blocks: 1222893    

Description Martin Prpič 2015-05-19 11:59:37 UTC
Qemu's user mode networking stack(SLiRP) is vulnerable to a predictable temporary file names creation flaw. It occurs when using -smb option.

An unprivileged user could use this to thwart instantiation of Qemu guests, resulting in DoS.

Reference:
  -> http://seclists.org/oss-sec/2015/q2/426

Comment 1 Martin Prpič 2015-05-19 12:01:02 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1222894]

Comment 2 Prasad Pandit 2015-05-28 07:54:55 UTC
Statement: 

This issue affects the versions of the kvm and xen packages as shipped with Red Hat Enterprise Linux 5, the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 6 and 7, and the versions of qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

Comment 3 Prasad Pandit 2015-05-28 13:09:16 UTC
This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 4 Fedora Update System 2015-06-11 18:35:34 UTC
qemu-2.3.0-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-06-21 00:15:57 UTC
qemu-2.1.3-8.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.