Bug 986386 (CVE-2013-4154)

Summary: CVE-2013-4154 libvirt: crash of libvirtd without guest agent configuration
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, eblake, herrold, itamar, jforbes, jkurik, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130716,reported=20130716,source=redhat,cvss2=3.3/AV:A/AC:L/Au:N/C:N/I:N/A:P,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:12:08 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, 986406    
Bug Blocks: 986392    

Description Petr Matousek 2013-07-19 12:07:30 EDT
If users haven't configured guest agent then qemuAgentCommand() will dereference a NULL 'mon' pointer.

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



This issue was discovered by Alex Jia of Red Hat.
Comment 1 Petr Matousek 2013-07-19 12:12:08 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:05:47 EDT
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 986406]