CVE-2016-5238
published 2016-06-14CVE-2016-5238: The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process…
PriorityP414medium4.4CVSS 3.1
AVLACLPRHUINSUCNINAH
EPSS
0.42%
34.5th percentile
The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) via vectors related to reading from the information transfer buffer in non-DMA mode.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | qemu | < qemu 1:2.6+dfsg-3 (bookworm) | qemu 1:2.6+dfsg-3 (bookworm) |
| qemu | qemu | <= 2.6.2 | — |
| qemu | qemu | >= 0 < 1:2.6+dfsg-3 | 1:2.6+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-3 | 1:2.6+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-3 | 1:2.6+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-3 | 1:2.6+dfsg-3 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.26 | 2.0.0+dfsg-2ubuntu1.26 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.27 | 2.0.0+dfsg-2ubuntu1.27 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.3 | 1:2.5+dfsg-5ubuntu10.3 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.4 | 1:2.5+dfsg-5ubuntu10.4 |
CVSS provenance
nvdv3.14.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv6.7MEDIUM
vendor_ubuntu6.7MEDIUM
vendor_debian4.4MEDIUM
vendor_redhat4.4MEDIUM
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.
GHSA
GHSA-57v7-vm5q-fmpj: The get_cmd function in hw/scsi/esp
ghsa_unreviewed·2022-05-13
CVE-2016-5238 [MEDIUM] CWE-787 GHSA-57v7-vm5q-fmpj: The get_cmd function in hw/scsi/esp
The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) via vectors related to reading from the information transfer buffer in non-DMA mode.
OSV
qemu, qemu-kvm regression
osv·2016-08-12·CVSS 6.7
CVE-2016-5403 [MEDIUM] qemu, qemu-kvm regression
qemu, qemu-kvm regression
USN-3047-1 fixed vulnerabilities in QEMU. The patch to fix CVE-2016-5403
caused a regression which resulted in save/restore failures when virtio
memory balloon statistics are enabled. This update temporarily reverts the
security fix for CVE-2016-5403 pending further investigation. We apologize
for the inconvenience.
Original advisory details:
Li Qiang discovered that QEMU incorrectly handled 53C9X Fast SCSI
controller emulation. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of service, or possibly
execute arbitrary code on the host. In the default installation, when QEMU
is used with libvirt, attackers would be isolated by the libvirt AppArmor
profile. This issue only applied to Ubuntu 14.04 LTS and Ub
OSV
qemu, qemu-kvm vulnerabilities
osv·2016-08-04·CVSS 6.7
CVE-2016-4439 [MEDIUM] qemu, qemu-kvm vulnerabilities
qemu, qemu-kvm vulnerabilities
Li Qiang discovered that QEMU incorrectly handled 53C9X Fast SCSI
controller emulation. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of service, or possibly
execute arbitrary code on the host. In the default installation, when QEMU
is used with libvirt, attackers would be isolated by the libvirt AppArmor
profile. This issue only applied to Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.
(CVE-2016-4439, CVE-2016-4441, CVE-2016-5238, CVE-2016-5338, CVE-2016-6351)
Li Qiang and Qinghao Tang discovered that QEMU incorrectly handled the
VMWare VGA module. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of service, or possibly
to obtain sensitive host memo
OSV
CVE-2016-5238: The get_cmd function in hw/scsi/esp
osv·2016-06-14·CVSS 4.4
CVE-2016-5238 [MEDIUM] CVE-2016-5238: The get_cmd function in hw/scsi/esp
The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) via vectors related to reading from the information transfer buffer in non-DMA mode.
Ubuntu
QEMU regression
vendor_ubuntu·2016-08-12·CVSS 6.7
CVE-2016-5403 [MEDIUM] QEMU regression
Title: QEMU regression
Summary: USN-3047-1 introduced a regression in QEMU.
USN-3047-1 fixed vulnerabilities in QEMU. The patch to fix CVE-2016-5403
caused a regression which resulted in save/restore failures when virtio
memory balloon statistics are enabled. This update temporarily reverts the
security fix for CVE-2016-5403 pending further investigation. We apologize
for the inconvenience.
Original advisory details:
Li Qiang discovered that QEMU incorrectly handled 53C9X Fast SCSI
controller emulation. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of service, or possibly
execute arbitrary code on the host. In the default installation, when QEMU
is used with libvirt, attackers would be isolated by the libvirt AppArmor
profile.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2016-08-04·CVSS 6.7
CVE-2016-4439 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Li Qiang discovered that QEMU incorrectly handled 53C9X Fast SCSI
controller emulation. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of service, or possibly
execute arbitrary code on the host. In the default installation, when QEMU
is used with libvirt, attackers would be isolated by the libvirt AppArmor
profile. This issue only applied to Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.
(CVE-2016-4439, CVE-2016-4441, CVE-2016-5238, CVE-2016-5338, CVE-2016-6351)
Li Qiang and Qinghao Tang discovered that QEMU incorrectly handled the
VMWare VGA module. A privileged attacker inside the guest could use this
issue to cause QEMU to crash, resulting in a denial of
Red Hat
Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
vendor_redhat·2016-05-31·CVSS 4.4
CVE-2016-5238 [MEDIUM] CWE-122 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) via vectors related to reading from the information transfer buffer in non-DMA mode.
Package: kvm (Red Hat Enterprise Linux 5) - Not affected
Package: xen (Red Hat Enterprise Linux 5) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 6 (Juno)) - N
Debian
CVE-2016-5238: qemu - The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS adminis...
vendor_debian·2016·CVSS 4.4
CVE-2016-5238 [MEDIUM] CVE-2016-5238: qemu - The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS adminis...
The get_cmd function in hw/scsi/esp.c in QEMU might allow local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) via vectors related to reading from the information transfer buffer in non-DMA mode.
Scope: local
bookworm: resolved (fixed in 1:2.6+dfsg-3)
bullseye: resolved (fixed in 1:2.6+dfsg-3)
forky: resolved (fixed in 1:2.6+dfsg-3)
sid: resolved (fixed in 1:2.6+dfsg-3)
trixie: resolved (fixed in 1:2.6+dfsg-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
bugzilla·2016-06-02·CVSS 4.4
CVE-2016-5238 [MEDIUM] CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd
Quick Emulator(Qemu) built with the ESP/NCR53C9x controller emulation support
is vulnerable to an OOB write access issue. The controller uses 16-byte FIFO
buffer for command and information transfer. The OOB write occurs while
reading from information transfer buffer via non-DMA mode in routine get_cmd().
A privileged user inside guest could use this flaw to crash the Qemu process
resulting in DoS.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg00150.html
Reference:
-> http://www.openwall.com/lists/oss-security/2016/06/02/9
Discussion:
Acknowledgments:
Name: Li Qiang (360.cn Inc.)
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1341932]
---
xen-4.5.3-
Bugzilla
CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd [fedora-all]
bugzilla·2016-06-02·CVSS 4.4
CVE-2016-5238 [MEDIUM] CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd [fedora-all]
CVE-2016-5238 Qemu: scsi: esp: OOB write when using non-DMA mode in get_cmd [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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects multiple supported v
http://www.openwall.com/lists/oss-security/2016/06/02/2http://www.openwall.com/lists/oss-security/2016/06/02/9http://www.securityfocus.com/bid/90995http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://bugzilla.redhat.com/show_bug.cgi?id=1341931https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-05/msg05691.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-06/msg00150.htmlhttps://security.gentoo.org/glsa/201609-01http://www.openwall.com/lists/oss-security/2016/06/02/2http://www.openwall.com/lists/oss-security/2016/06/02/9http://www.securityfocus.com/bid/90995http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://bugzilla.redhat.com/show_bug.cgi?id=1341931https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-05/msg05691.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-06/msg00150.htmlhttps://security.gentoo.org/glsa/201609-01
2016-06-14
Published