CVE-2016-5338
published 2016-06-14CVE-2016-5338: The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process…
PriorityP335high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.50%
39.7th percentile
The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via vectors related to the information transfer buffer.
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-2 (bookworm) | qemu 1:2.6+dfsg-2 (bookworm) |
| qemu | qemu | <= 2.6.2 | — |
| qemu | qemu | >= 0 < 1:2.6+dfsg-2 | 1:2.6+dfsg-2 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-2 | 1:2.6+dfsg-2 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-2 | 1:2.6+dfsg-2 |
| qemu | qemu | >= 0 < 1:2.6+dfsg-2 | 1:2.6+dfsg-2 |
| 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.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu6.7MEDIUM
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-g4j5-678q-qp7j: The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp
ghsa_unreviewed·2022-05-13
CVE-2016-5338 [HIGH] GHSA-g4j5-678q-qp7j: The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp
The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via vectors related to the information transfer buffer.
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-5338: The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp
osv·2016-06-14·CVSS 7.8
CVE-2016-5338 [HIGH] CVE-2016-5338: The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp
The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via vectors related to the information transfer buffer.
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 r/w access while processing ESP_FIFO
vendor_redhat·2016-05-30·CVSS 7.8
CVE-2016-5338 [HIGH] CWE-787 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via vectors related to the information transfer buffer.
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
Debian
CVE-2016-5338: qemu - The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU al...
vendor_debian·2016·CVSS 7.8
CVE-2016-5338 [HIGH] CVE-2016-5338: qemu - The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU al...
The (1) esp_reg_read and (2) esp_reg_write functions in hw/scsi/esp.c in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via vectors related to the information transfer buffer.
Scope: local
bookworm: resolved (fixed in 1:2.6+dfsg-2)
bullseye: resolved (fixed in 1:2.6+dfsg-2)
forky: resolved (fixed in 1:2.6+dfsg-2)
sid: resolved (fixed in 1:2.6+dfsg-2)
trixie: resolved (fixed in 1:2.6+dfsg-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
bugzilla·2016-06-07·CVSS 7.8
CVE-2016-5338 [HIGH] CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
Quick Emulator(Qemu) built with the ESP/NCR53C9x controller emulation support
is vulnerable to an OOB r/w access issue. The controller uses 16-byte FIFO
buffer the information transfer. The OOB r/w occurs while reading/writing
to this buffer in esp_reg_read() and esp_reg_write() routines.
A privileged user inside guest could use this flaw to crash the Qemu process
resulting in DoS OR potentially leverage it to execute arbitrary code with
privileges of the Qemu process on the host.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg01507.html
Reference:
-> http://www.openwall.com/lists/oss-security/2016/06/07/3
Discussion:
Acknowledgements:
Name: Security Team (Huawei Inc.), Li Qiang (360
Bugzilla
CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO [fedora-all]
bugzilla·2016-06-07·CVSS 7.8
CVE-2016-5338 [HIGH] CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO [fedora-all]
CVE-2016-5338 Qemu: scsi: esp: OOB r/w access while processing ESP_FIFO [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 versi
http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=ff589551c8e8e9e95e211b9d8daafb4ed39f1aechttp://www.openwall.com/lists/oss-security/2016/06/07/3http://www.openwall.com/lists/oss-security/2016/06/08/14http://www.securityfocus.com/bid/91079http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-06/msg01507.htmlhttps://security.gentoo.org/glsa/201609-01http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=ff589551c8e8e9e95e211b9d8daafb4ed39f1aechttp://www.openwall.com/lists/oss-security/2016/06/07/3http://www.openwall.com/lists/oss-security/2016/06/08/14http://www.securityfocus.com/bid/91079http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-06/msg01507.htmlhttps://security.gentoo.org/glsa/201609-01
2016-06-14
Published