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 1097222 - (CVE-2014-0223) CVE-2014-0223 Qemu: qcow1: validate image size to avoid out-of-bounds memory access
CVE-2014-0223 Qemu: qcow1: validate image size to avoid out-of-bounds memory ...
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=20140512,repor...
: Reopened, Security
Depends On: 1097234 1097235 1097236 1097237 1097238 1133427 1133428 1133429
Blocks: 1094952 1133827
  Show dependency treegraph
 
Reported: 2014-05-13 08:09 EDT by Prasad J Pandit
Modified: 2016-04-26 17:25 EDT (History)
39 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An integer overflow flaw was found in the QEMU block driver for QCOW version 1 disk images. A user able to alter the QEMU disk image files loaded by a guest could use this flaw to 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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-09-22 00:49:26 EDT
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:0927 normal SHIPPED_LIVE Moderate: qemu-kvm security and bug fix update 2014-07-23 16:15:13 EDT
Red Hat Product Errata RHSA-2014:1075 normal SHIPPED_LIVE Moderate: qemu-kvm security and bug fix update 2014-08-19 09:12:19 EDT
Red Hat Product Errata RHSA-2014:1076 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security and bug fix update 2014-08-19 09:22:40 EDT
Red Hat Product Errata RHSA-2014:1168 normal SHIPPED_LIVE Important: rhev-hypervisor6 security and bug fix update 2014-09-09 19:06:34 EDT
Red Hat Product Errata RHSA-2014:1187 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-09-15 06:12:52 EDT
Red Hat Product Errata RHSA-2014:1268 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-09-22 04:00:39 EDT

  None (edit)
Description Prasad J Pandit 2014-05-13 08:09:09 EDT
Qemu block driver for the QCOW version 1 image format is vulnerable to an
integer overflow flaw. It occurs due to weak input validations or logic errors.
Such integer overflow could lead to buffer overflows, memory corruption or
crash in Qemu instance.

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 fix:
-------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2014-05/msg02156.html
Comment 1 Prasad J Pandit 2014-05-13 08:12:30 EDT
Statement:

(none)
Comment 3 Prasad J Pandit 2014-05-13 08:24:47 EDT
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1097238]
Comment 4 Fedora Update System 2014-06-09 22:55:46 EDT
qemu-1.6.2-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Martin Prpič 2014-07-17 10:14:51 EDT
IssueDescription:

An integer overflow flaw was found in the QEMU block driver for QCOW version 1 disk images. A user able to alter the QEMU disk image files loaded by a guest could use this flaw to 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.
Comment 6 errata-xmlrpc 2014-07-23 12:17:58 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:0927 https://rhn.redhat.com/errata/RHSA-2014-0927.html
Comment 8 Prasad J Pandit 2014-07-28 01:49:26 EDT
Acknowledgements:

Red Hat would like to thank NSA for reporting this issue.
Comment 9 errata-xmlrpc 2014-08-19 05:12:39 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1075 https://rhn.redhat.com/errata/RHSA-2014-1075.html
Comment 10 errata-xmlrpc 2014-08-19 05:23:07 EDT
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:1076 https://rhn.redhat.com/errata/RHSA-2014-1076.html
Comment 12 errata-xmlrpc 2014-09-09 15:06:48 EDT
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:1168 https://rhn.redhat.com/errata/RHSA-2014-1168.html
Comment 13 errata-xmlrpc 2014-09-15 02:13:12 EDT
This issue has been addressed in the following products:

  OpenStack 4 for RHEL 6
  OpenStack 5 for RHEL 6

Via RHSA-2014:1187 https://rhn.redhat.com/errata/RHSA-2014-1187.html
Comment 14 errata-xmlrpc 2014-09-22 00:02:06 EDT
This issue has been addressed in the following products:

  OpenStack 5 for RHEL 7

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

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