CVE-2013-4151
published 2014-11-04CVE-2013-4151: The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which…
PriorityP349high7.5CVSS 2.0
AVNACLAuNCPIPAP
EPSS
5.13%
91.5th percentile
The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers an out-of-bounds write.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 2.1+dfsg-1 (bookworm) | qemu 2.1+dfsg-1 (bookworm) |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | — | — |
| qemu | qemu | >= 0 < 2.1+dfsg-1 | 2.1+dfsg-1 |
| qemu | qemu | >= 0 < 2.1+dfsg-1 | 2.1+dfsg-1 |
| qemu | qemu | >= 0 < 2.1+dfsg-1 | 2.1+dfsg-1 |
| qemu | qemu | >= 0 < 2.1+dfsg-1 | 2.1+dfsg-1 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.3 | 2.0.0+dfsg-2ubuntu1.3 |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2014-09-08·CVSS 7.5
CVE-2013-4148 [HIGH] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Michael S. Tsirkin, Anthony Liguori, and Michael Roth discovered multiple
issues with QEMU state loading after migration. An attacker able to modify
the state data could use these issues to cause a denial of service, or
possibly execute arbitrary code. (CVE-2013-4148, CVE-2013-4149,
CVE-2013-4150, CVE-2013-4151, CVE-2013-4526, CVE-2013-4527, CVE-2013-4529,
CVE-2013-4530, CVE-2013-4531, CVE-2013-4532, CVE-2013-4533, CVE-2013-4534,
CVE-2013-4535, CVE-2013-4536, CVE-2013-4537, CVE-2013-4538, CVE-2013-4539,
CVE-2013-4540, CVE-2013-4541, CVE-2013-4542, CVE-2013-6399, CVE-2014-0182,
CVE-2014-3461)
Kevin Wolf, Stefan Hajnoczi, Fam Zheng, Jeff Cody, Stefan Hajnoczi, and
others discovered multiple issues in the QEMU
Red Hat
qemu: virtio: out-of-bounds buffer write on invalid state load
vendor_redhat·2013-12-03·CVSS 7.5
CVE-2013-4151 [HIGH] CWE-787 qemu: virtio: out-of-bounds buffer write on invalid state load
qemu: virtio: out-of-bounds buffer write on invalid state load
The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers an out-of-bounds write.
Package: kvm (Red Hat Enterprise Linux 5) - Will not fix
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 6) - Affected
Debian
CVE-2013-4151: qemu - The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remo...
vendor_debian·2013·CVSS 7.5
CVE-2013-4151 [HIGH] CVE-2013-4151: qemu - The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remo...
The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers an out-of-bounds write.
Scope: local
bookworm: resolved (fixed in 2.1+dfsg-1)
bullseye: resolved (fixed in 2.1+dfsg-1)
forky: resolved (fixed in 2.1+dfsg-1)
sid: resolved (fixed in 2.1+dfsg-1)
trixie: resolved (fixed in 2.1+dfsg-1)
GHSA
GHSA-rxxv-p4v6-jrg6: The virtio_load function in virtio/virtio
ghsa_unreviewed·2022-05-17
CVE-2013-4151 [HIGH] CWE-94 GHSA-rxxv-p4v6-jrg6: The virtio_load function in virtio/virtio
The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers an out-of-bounds write.
OSV
CVE-2013-4151: The virtio_load function in virtio/virtio
osv·2014-11-04·CVSS 7.5
CVE-2013-4151 [HIGH] CVE-2013-4151: The virtio_load function in virtio/virtio
The virtio_load function in virtio/virtio.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers an out-of-bounds write.
OSV
qemu, qemu-kvm vulnerabilities
osv·2014-09-08·CVSS 7.5
CVE-2013-4148 [HIGH] qemu, qemu-kvm vulnerabilities
qemu, qemu-kvm vulnerabilities
Michael S. Tsirkin, Anthony Liguori, and Michael Roth discovered multiple
issues with QEMU state loading after migration. An attacker able to modify
the state data could use these issues to cause a denial of service, or
possibly execute arbitrary code. (CVE-2013-4148, CVE-2013-4149,
CVE-2013-4150, CVE-2013-4151, CVE-2013-4526, CVE-2013-4527, CVE-2013-4529,
CVE-2013-4530, CVE-2013-4531, CVE-2013-4532, CVE-2013-4533, CVE-2013-4534,
CVE-2013-4535, CVE-2013-4536, CVE-2013-4537, CVE-2013-4538, CVE-2013-4539,
CVE-2013-4540, CVE-2013-4541, CVE-2013-4542, CVE-2013-6399, CVE-2014-0182,
CVE-2014-3461)
Kevin Wolf, Stefan Hajnoczi, Fam Zheng, Jeff Cody, Stefan Hajnoczi, and
others discovered multiple issues in the QEMU block drivers. An attacker
able to modify disk ima
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load [fedora-all]
bugzilla·2014-05-08·CVSS 7.5
CVE-2013-4151 [HIGH] CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load [fedora-all]
CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
NOTE: this issue affec
Bugzilla
CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load
bugzilla·2014-02-18·CVSS 7.5
CVE-2013-4151 [HIGH] CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load
CVE-2013-4151 qemu: virtio: out-of-bounds buffer write on invalid state load
Michael S. Tsirkin writes:
QEMU 1.0 out-of-bounds buffer write in virtio_load@virtio/virtio.c
So we have this code since way back when:
num = qemu_get_be32(f);
for (i = 0; i vq[i].vring.num = qemu_get_be32(f);
array of vqs has size VIRTIO_PCI_QUEUE_MAX, so
on invalid input this will write beyond end of buffer.
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.
Upstream fix:
-> http://git.qemu.org/?p=qemu.git;a=commit;h=cc45995294b92d95319b4782750a3580cabdbc0c
Discussion:
St
http://git.qemu.org/?p=qemu.git%3Ba=commitdiff%3Bh=cc45995294b92d95319b4782750a3580cabdbc0chttp://lists.fedoraproject.org/pipermail/package-announce/2014-May/133345.htmlhttp://lists.nongnu.org/archive/html/qemu-stable/2014-07/msg00187.htmlhttp://rhn.redhat.com/errata/RHSA-2014-0743.htmlhttp://rhn.redhat.com/errata/RHSA-2014-0744.htmlhttp://git.qemu.org/?p=qemu.git%3Ba=commitdiff%3Bh=cc45995294b92d95319b4782750a3580cabdbc0chttp://lists.fedoraproject.org/pipermail/package-announce/2014-May/133345.htmlhttp://lists.nongnu.org/archive/html/qemu-stable/2014-07/msg00187.htmlhttp://rhn.redhat.com/errata/RHSA-2014-0743.htmlhttp://rhn.redhat.com/errata/RHSA-2014-0744.html
2014-11-04
Published