Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1078885 - (CVE-2014-0145) CVE-2014-0145 Qemu: prevent possible buffer overflows
CVE-2014-0145 Qemu: prevent possible buffer overflows
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140326,repor...
: Security
Depends On: 1079321 1079322 1079323 1079324 1079325 1086720 1087112 1087126 1087140 1108461
Blocks: 1066967 1086694
  Show dependency treegraph
 
Reported: 2014-03-20 09:47 EDT by Prasad J Pandit
Modified: 2016-01-28 04:33 EST (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-27 08:12:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0420 normal SHIPPED_LIVE Moderate: qemu-kvm security update 2014-04-22 17:39:52 EDT
Red Hat Product Errata RHSA-2014:0421 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-22 17:39:32 EDT
Red Hat Product Errata RHSA-2014:0434 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-24 17:35:56 EDT
Red Hat Product Errata RHSA-2014:0435 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-24 17:35:47 EDT
Red Hat Product Errata RHSA-2014:0674 normal SHIPPED_LIVE Moderate: rhev-hypervisor6 3.4.0 security, bug fix, and enhancement update 2014-06-09 14:35:12 EDT

  None (edit)
Description Prasad J Pandit 2014-03-20 09:47:00 EDT
Qemu block drivers for DMG and QCOW version 2 format images are vulnerable to
possible buffer overflows caused by logic errors or non-sanitised inputs from
the image files. Such buffer overflows could lead to memory/image corruption
or crash in Qemu instances resulting in DoS.

An user able to alter the Qemu disk image files loaded by a guest could use
this flaw to crash the Qemu instance resulting in DoS or corrupt QEMU process
memory on the host, which could potentially result in arbitrary code execution
on the host with the privileges of the QEMU process.

Upstream fixes:
---------------
qcow2: Fix L1 allocation size in qcow2_snapshot_load_tmp
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=c05e4667be91b46ab42b5a11babf8e84d476cc6b

dmg: prevent chunk buffer overflow
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=f0dce23475b5af5da6b17b97c1765271307734b6

dmg: sanitize chunk length and sectorcount
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=c165f7758009a4f793c1fc19ebb69cf55313450b
Comment 1 Prasad J Pandit 2014-03-21 06:31:38 EDT
Statement:

This issue affects the versions of kvm package as shipped with Red Hat
Enterprise Linux 5.

This issue affects the versions of qemu-kvm package as shipped with Red Hat
Enterprise Linux 6.
Comment 5 Prasad J Pandit 2014-03-25 09:25:45 EDT
Acknowledgement:

These issues were discovered by Stefan Hajnoczi of Red Hat Inc.
Comment 6 Prasad J Pandit 2014-04-11 07:33:40 EDT
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1086720]
Comment 10 errata-xmlrpc 2014-04-22 13:41:18 EDT
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 13:42:22 EDT
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 13:37:33 EDT
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 13:38:35 EDT
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 18:26:39 EDT
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 10:37:38 EDT
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

Note You need to log in before you can comment on or make changes to this bug.