Bug 1066358 (CVE-2013-4532) - CVE-2013-4532 qemu: stellaris_enet: buffer overrun on incoming migration
Summary: CVE-2013-4532 qemu: stellaris_enet: buffer overrun on incoming migration
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-4532
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20131203,repor...
Depends On:
Blocks: 1036654
TreeView+ depends on / blocked
 
Reported: 2014-02-18 09:44 UTC by Petr Matousek
Modified: 2019-06-08 19:55 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 11:31:14 UTC


Attachments (Terms of Use)

Description Petr Matousek 2014-02-18 09:44:04 UTC
Three issues were found:
 * s->next_packet is read from wire as an index into s->rx[].
 * s->tx_fifo_len is read from the wire and later used as an index into
     s->tx_fifo[] when a DATA command is issued by the guest.
 * s->tx_frame_len is read from the wire and can later used as an index
     into s->tx_fifo[] for memset() when a DATA command is issued by the
     guest.

An user able to alter the savevm data (either on the disk or over the wire
during migration) could use this flaw to to corrupt QEMU process memory on
the (destination) host, which could potentially result in arbitrary code
execution on the host with the privileges of the QEMU process.

References:
http://lists.gnu.org/archive/html/qemu-devel/2013-12/msg00403.html
http://lists.gnu.org/archive/html/qemu-devel/2013-12/msg00414.html
http://lists.gnu.org/archive/html/qemu-devel/2013-12/msg00404.html

Comment 1 Petr Matousek 2014-02-18 11:24:28 UTC
Statement:

Not vulnerable.

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

This issue does not affect the versions of qemu-kvm package as shipped
with Red Hat Enterprise Linux 6


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