Bug 1285061 - (CVE-2015-7512) CVE-2015-7512 Qemu: net: pcnet: buffer overflow in non-loopback mode
CVE-2015-7512 Qemu: net: pcnet: buffer overflow in non-loopback mode
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20151130,repo...
: Security
Depends On: 1286549 1286563 1286567 1287942 1287950
Blocks: 1267832
  Show dependency treegraph
 
Reported: 2015-11-24 14:07 EST by Prasad J Pandit
Modified: 2016-04-18 20:38 EDT (History)
35 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A buffer overflow flaw was found in the way QEMU's AMD PC-Net II emulation validated certain received packets from a remote host in non-loopback mode. A remote, unprivileged attacker could potentially use this flaw to execute arbitrary code on the host with the privileges of the QEMU process. Note that to exploit this flaw, the guest network interface must have a large MTU limit.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Prasad J Pandit 2015-11-24 14:07:32 EST
The AMD PC-Net II emulator(hw/net/pcnet.c), while receiving packets from a
remote host(non-loopback mode), fails to validate the received data size,
thus resulting in a buffer overflow issue. It could potentially lead to
arbitrary code execution on the host, with privileges of the Qemu process.
It requires the guest NIC to have larger MTU limit.

A remote user could use this flaw to crash the guest instance resulting in DoS
or potentially execute arbitrary code on a remote host with privileges of the
Qemu process.

Upstream fix:
-------------
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=8b98a2f07175d46c3f7217639bd5e03f

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2015/11/30/3
Comment 1 Prasad J Pandit 2015-11-24 14:11:27 EST
Statement: 

This issue does not affect the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 7 as they do not enable the pcnet backend driver.

This issue does not affect the Red Hat Enterprise Linux 7 based versions of the qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

This issue affects the versions of the kvm and xen packages as shipped with Red Hat Enterprise Linux 5, the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 6, and the Red Hat Enterprise Linux 6 based versions of qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3. Future updates for the respective releases may address this flaw.

Please note that AMD PCNet adapter has to be explicitly enabled per-guest as it is not enabled in default configuration and is not supported by Red Hat in Red Hat Enterprise Linux 6 (for a list of supported devices please consult https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-whitelist-device-options.html).

Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and
maintenance life cycle. Though this has been rated as having Important security
impact and is not currently planned to be addressed in future updates. For
additional information, refer to the Red Hat Enterprise Linux Life
Cycle: https://access.redhat.com/support/policy/updates/errata/.
Comment 2 Prasad J Pandit 2015-11-24 14:15:01 EST
Acknowledgements:

This issue was independently discovered by Ling Liu of Qihoo 360 Inc. and Jason Wang of Red Hat Inc.
Comment 4 Prasad J Pandit 2015-11-30 04:16:10 EST
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1286563]
Comment 5 Prasad J Pandit 2015-11-30 04:18:18 EST
Created Qemu tracking bugs for this issue:

Affects: fedora-all [bug 1286549]
Comment 9 Fedora Update System 2015-12-17 02:25:34 EST
xen-4.5.2-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2015-12-17 02:30:19 EST
qemu-2.4.1-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2015-12-19 19:22:07 EST
xen-4.5.2-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2015-12-22 10:27:35 EST
This issue has been addressed in the following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2015:2696 https://rhn.redhat.com/errata/RHSA-2015-2696.html
Comment 13 errata-xmlrpc 2015-12-22 10:28:42 EST
This issue has been addressed in the following products:

  OpenStack 5 for RHEL 6

Via RHSA-2015:2695 https://rhn.redhat.com/errata/RHSA-2015-2695.html
Comment 14 errata-xmlrpc 2015-12-22 10:29:52 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:2694 https://rhn.redhat.com/errata/RHSA-2015-2694.html

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