Bug 1006505 (CVE-2013-4297)

Summary: CVE-2013-4297 libvirt: invalid free in virFileNBDDeviceAssociate
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, berrange, bsarathy, clalancette, dallan, eblake, itamar, jdenemar, jforbes, jkurik, jyang, laine, libvirt-maint, pfrields, veillard, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130903,reported=20130903,source=upstream,cvss2=2.9/AV:A/AC:M/Au:N/C:N/I:N/A:P,rhel-5/libvirt=notaffected,rhel-6/libvirt=notaffected,fedora-all/libvirt=affected,rhel-7/libvirt=notaffected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 14:00:09 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 1006511, 1006513    
Bug Blocks: 1006495    

Description Petr Matousek 2013-09-10 13:58:20 EDT
A potential invalid free (uninialized variable) flaw was found in virFileNBDDeviceAssociate function in libvirt.

A remote user able to issue commands to libvirt daemon could use this flaw to crash libvirtd.

Introduced by:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=8aabd597b379db5ae1655e36dff4f10d5622830a

Upstream fix:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=2dba0323ff0cec31bdcea9dd3b2428af297401f2
Comment 1 Petr Matousek 2013-09-10 14:00:09 EDT
Statement:

Not vulnerable.

This issue did not affect the versions of libvirt package as shipped with Red Hat Enterprise Linux 5 and 6.
Comment 2 Petr Matousek 2013-09-10 14:16:17 EDT
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1006511]
Comment 4 Fedora Update System 2013-10-12 00:34:00 EDT
libvirt-1.1.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.