Bug 1078232 (CVE-2014-0146)

Summary: CVE-2014-0146 Qemu: qcow2: NULL dereference in qcow2_open() error path
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: areis, gmollett, jkurik, jrusnack, juzhang, knoel, kwolf, mkenneth, mrezanin, mtosatti, pmatouse, rbalakri, rpacheco, security-response-team, stefanha
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: 2016-01-27 13:09: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: 1079327, 1079329, 1079330, 1079331, 1079333, 1086713, 1087112, 1087126, 1087140, 1108461    
Bug Blocks: 1066967, 1086694    

Description Prasad Pandit 2014-03-19 12:45:43 UTC
Qemu block driver for the QCOW version 2 format is vulnerable to a NULL pointer
dereference flaw. It could occur in case of an error in reading a qcow2 image
file, after the 'snapshot_offset' & 'nb_snapshots' fields have been
initialised.

An user able to alter the Qemu disk image could use this flaw to crash the Qemu
instance resulting in Dos.

Upstream fix:
-------------
qcow2: Fix NULL dereference in qcow2_open() error path
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=11b128f4062dd7f89b14abc8877ff20d41b28be9

Comment 5 Prasad Pandit 2014-03-25 13:13:37 UTC
Acknowledgement:

This issue was discovered by Kevin Wolf of Red Hat Inc.

Comment 6 Prasad Pandit 2014-04-11 11:25:57 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1086713]

Comment 10 errata-xmlrpc 2014-04-22 17:41:03 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:0421 https://rhn.redhat.com/errata/RHSA-2014-0421.html

Comment 11 errata-xmlrpc 2014-04-22 17:41:55 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0420 https://rhn.redhat.com/errata/RHSA-2014-0420.html

Comment 12 errata-xmlrpc 2014-04-24 17:37:16 UTC
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2014:0435 https://rhn.redhat.com/errata/RHSA-2014-0435.html

Comment 13 errata-xmlrpc 2014-04-24 17:38:19 UTC
This issue has been addressed in following products:

  OpenStack 4 for RHEL 6

Via RHSA-2014:0434 https://rhn.redhat.com/errata/RHSA-2014-0434.html

Comment 14 Fedora Update System 2014-05-01 22:26:45 UTC
qemu-1.6.2-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 errata-xmlrpc 2014-06-09 14:37:29 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:0674 https://rhn.redhat.com/errata/RHSA-2014-0674.html