Bug 986383 (CVE-2013-4153)

Summary: CVE-2013-4153 libvirt: double free of returned JSON array in qemuAgentGetVCPUs()
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, berrange, bsarathy, clalancette, eblake, herrold, itamar, jforbes, jkurik, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,public=20130716,reported=20130716,source=redhat,cvss2=6.8/AV:A/AC:H/Au:N/C:C/I:C/A:C,rhel-5/libvirt=notaffected,rhel-6/libvirt=notaffected,fedora-all/libvirt=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-19 12:03:35 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 984821, 986408    
Bug Blocks: 986392    

Description Petr Matousek 2013-07-19 12:01:37 EDT
A part of the returned monitor response was freed twice and caused crashes of the daemon when using guest agent cpu count retrieval.

A remote user able to issue commands to libvirt daemon could use this flaw to crash libvirtd or, potentially, escalate their privilages to that of libvirtd process.



This issue was discovered by Petr Krempa of Red Hat.
Comment 1 Petr Matousek 2013-07-19 12:03:35 EDT

Not vulnerable. This issue did not affect the versions of libvirt as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6.
Comment 3 Petr Matousek 2013-07-19 13:09:59 EDT
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 986408]