CVE-2016-4439
published 2016-05-20CVE-2016-4439: The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows…
PriorityP430medium6.7CVSS 3.1
AVLACLPRHUINSUCHIHAH
EPSS
0.46%
37.4th percentile
The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) or potentially execute arbitrary code on the QEMU host via unspecified vectors.
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.0 | — |
| 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.16.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv6.7MEDIUM
vendor_debian6.7MEDIUM
vendor_redhat6.7MEDIUM
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-7hvv-cj62-6f9j: The esp_reg_write function in hw/scsi/esp
ghsa_unreviewed·2022-05-13
CVE-2016-4439 [MEDIUM] CWE-119 GHSA-7hvv-cj62-6f9j: The esp_reg_write function in hw/scsi/esp
The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) or potentially execute arbitrary code on the QEMU host via unspecified vectors.
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-4439: The esp_reg_write function in hw/scsi/esp
osv·2016-05-20·CVSS 6.7
CVE-2016-4439 [MEDIUM] CVE-2016-4439: The esp_reg_write function in hw/scsi/esp
The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) or potentially execute arbitrary code on the QEMU host via unspecified vectors.
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 while writing to 's->cmdbuf' in esp_reg_write
vendor_redhat·2016-05-19·CVSS 6.7
CVE-2016-4439 [MEDIUM] CWE-122 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write
Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write
The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) or potentially execute arbitrary code on the QEMU host via unspecified vectors.
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 (
Debian
CVE-2016-4439: qemu - The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (F...
vendor_debian·2016·CVSS 6.7
CVE-2016-4439 [MEDIUM] CVE-2016-4439: qemu - The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (F...
The esp_reg_write function in hw/scsi/esp.c in the 53C9X Fast SCSI Controller (FSC) support in QEMU does not properly check command buffer length, which allows local guest OS administrators to cause a denial of service (out-of-bounds write and QEMU process crash) or potentially execute arbitrary code on the QEMU host via unspecified vectors.
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-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write
bugzilla·2016-05-19·CVSS 6.7
CVE-2016-4439 [MEDIUM] CVE-2016-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write
CVE-2016-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write
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 data transfer. The OOB write occurs while writing to
this command buffer in esp_reg_write().
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-05/msg03273.html
Reference:
-> http://www.openwall.com/lists/oss-security/2016/05/19/3
Discussion:
Acknowledgments:
Name: Li Qiang (360.cn Inc.)
---
Created qemu track
Bugzilla
CVE-2016-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write [fedora-all]
bugzilla·2016-05-19·CVSS 6.7
CVE-2016-4439 [MEDIUM] CVE-2016-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write [fedora-all]
CVE-2016-4439 Qemu: scsi: esp: OOB write while writing to 's->cmdbuf' in esp_reg_write [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
http://www.openwall.com/lists/oss-security/2016/05/19/3http://www.securityfocus.com/bid/90760http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://bugzilla.redhat.com/show_bug.cgi?id=1337502https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-05/msg03273.htmlhttps://security.gentoo.org/glsa/201609-01http://www.openwall.com/lists/oss-security/2016/05/19/3http://www.securityfocus.com/bid/90760http://www.ubuntu.com/usn/USN-3047-1http://www.ubuntu.com/usn/USN-3047-2https://bugzilla.redhat.com/show_bug.cgi?id=1337502https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-05/msg03273.htmlhttps://security.gentoo.org/glsa/201609-01
2016-05-20
Published