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:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 18:00:09 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: 1006511, 1006513    
Bug Blocks: 1006495    

Description Petr Matousek 2013-09-10 17:58:20 UTC
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 18:00:09 UTC
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 18:16:17 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1006511]

Comment 4 Fedora Update System 2013-10-12 04:34:00 UTC
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.