CVE-2015-5166
published 2015-08-12CVE-2015-5166: Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain…
PriorityP431high7.2CVSS 2.0
AVLACLAuNCCICAC
EPSS
0.43%
34.6th percentile
Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain privileges by unplugging a block device twice.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 1:2.4+dfsg-1a (bookworm) | qemu 1:2.4+dfsg-1a (bookworm) |
| debian | xen | < qemu 1:2.4+dfsg-1a (bookworm) | qemu 1:2.4+dfsg-1a (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| qemu | qemu | >= 0 < 1:2.4+dfsg-1a | 1:2.4+dfsg-1a |
| qemu | qemu | >= 0 < 1:2.4+dfsg-1a | 1:2.4+dfsg-1a |
| qemu | qemu | >= 0 < 1:2.4+dfsg-1a | 1:2.4+dfsg-1a |
| qemu | qemu | >= 0 < 1:2.4+dfsg-1a | 1:2.4+dfsg-1a |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.17 | 2.0.0+dfsg-2ubuntu1.17 |
| xen | xen | <= 4.5.0 | — |
| xen | xen | — | — |
| xen | xen | >= 0 < 4.4.0-1 | 4.4.0-1 |
| xen | xen | >= 0 < 4.4.0-1 | 4.4.0-1 |
| xen | xen | >= 0 < 4.4.0-1 | 4.4.0-1 |
| xen | xen | >= 0 < 4.4.0-1 | 4.4.0-1 |
CVSS provenance
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.2HIGH
vendor_debian7.2HIGH
vendor_redhat7.2HIGH
vendor_ubuntu4.9MEDIUM
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-gpg2-4ppg-g82w: Use-after-free vulnerability in QEMU in Xen 4
ghsa_unreviewed·2022-05-14
CVE-2015-5166 [HIGH] GHSA-gpg2-4ppg-g82w: Use-after-free vulnerability in QEMU in Xen 4
Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain privileges by unplugging a block device twice.
OSV
qemu, qemu-kvm vulnerabilities
osv·2015-08-27·CVSS 4.9
CVE-2014-9718 [MEDIUM] qemu, qemu-kvm vulnerabilities
qemu, qemu-kvm vulnerabilities
It was discovered that QEMU incorrectly handled a PRDT with zero complete
sectors in the IDE functionality. A malicious guest could possibly use
this issue to cause a denial of service. This issue only affected Ubuntu
12.04 LTS and Ubuntu 14.04 LTS. (CVE-2014-9718)
Donghai Zhu discovered that QEMU incorrectly handled the RTL8139 driver.
A malicious guest could possibly use this issue to read sensitive
information from arbitrary host memory. (CVE-2015-5165)
Donghai Zhu discovered that QEMU incorrectly handled unplugging emulated
block devices. A malicious guest could use this issue to cause a denial of
service, or possibly execute arbitrary code on the host as the user running
the QEMU process. In the default installation, when QEMU is used with
libvirt, at
OSV
CVE-2015-5166: Use-after-free vulnerability in QEMU in Xen 4
osv·2015-08-12·CVSS 7.2
CVE-2015-5166 [HIGH] CVE-2015-5166: Use-after-free vulnerability in QEMU in Xen 4
Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain privileges by unplugging a block device twice.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2015-08-27·CVSS 4.9
CVE-2014-9718 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
It was discovered that QEMU incorrectly handled a PRDT with zero complete
sectors in the IDE functionality. A malicious guest could possibly use
this issue to cause a denial of service. This issue only affected Ubuntu
12.04 LTS and Ubuntu 14.04 LTS. (CVE-2014-9718)
Donghai Zhu discovered that QEMU incorrectly handled the RTL8139 driver.
A malicious guest could possibly use this issue to read sensitive
information from arbitrary host memory. (CVE-2015-5165)
Donghai Zhu discovered that QEMU incorrectly handled unplugging emulated
block devices. A malicious guest could use this issue to cause a denial of
service, or possibly execute arbitrary code on the host as the user running
the QEMU process. In the defau
Red Hat
Qemu: BlockBackend object use after free issue (XSA-139)
vendor_redhat·2015-08-03·CVSS 7.2
CVE-2015-5166 [HIGH] CWE-416 Qemu: BlockBackend object use after free issue (XSA-139)
Qemu: BlockBackend object use after free issue (XSA-139)
Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain privileges by unplugging a block device twice.
A flaw has been found in the QEMU emulator built with IDE Emulation PCI PIIX3/4 support; the emulator is vulnerable to a use-after-free flaw, while writing data to an I/O port inside a guest. This issue is specific to the Xen platform. A privileged(CAP_SYS_RAWIO) guest user on the Xen platform could use this flaw to crash the QEMU instance or attempt to make a guest escape to QEMU-process privileges.
Statement: This issue does not affect the versions of kvm and xen packages as shipped with Red Hat Enterprise Linux 5.
This issue doe
Debian
CVE-2015-5166: qemu - Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completel...
vendor_debian·2015·CVSS 7.2
CVE-2015-5166 [HIGH] CVE-2015-5166: qemu - Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completel...
Use-after-free vulnerability in QEMU in Xen 4.5.x and earlier does not completely unplug emulated block devices, which allows local HVM guest users to gain privileges by unplugging a block device twice.
Scope: local
bookworm: resolved (fixed in 1:2.4+dfsg-1a)
bullseye: resolved (fixed in 1:2.4+dfsg-1a)
forky: resolved (fixed in 1:2.4+dfsg-1a)
sid: resolved (fixed in 1:2.4+dfsg-1a)
trixie: resolved (fixed in 1:2.4+dfsg-1a)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5166 xen: Qemu: BlockBackend object use after free issue [fedora-all]
bugzilla·2015-08-03·CVSS 7.2
CVE-2015-5166 [HIGH] CVE-2015-5166 xen: Qemu: BlockBackend object use after free issue [fedora-all]
CVE-2015-5166 xen: Qemu: BlockBackend object use after free issue [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 versions of
Bugzilla
CVE-2015-5166 Qemu: BlockBackend object use after free issue [fedora-all]
bugzilla·2015-08-03·CVSS 7.2
CVE-2015-5166 [HIGH] CVE-2015-5166 Qemu: BlockBackend object use after free issue [fedora-all]
CVE-2015-5166 Qemu: BlockBackend object use after free issue [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 versions of Fedo
Bugzilla
CVE-2015-5166 Qemu: BlockBackend object use after free issue (XSA-139)
bugzilla·2015-07-31·CVSS 7.2
CVE-2015-5166 [HIGH] CVE-2015-5166 Qemu: BlockBackend object use after free issue (XSA-139)
CVE-2015-5166 Qemu: BlockBackend object use after free issue (XSA-139)
Qemu emulator built with the IDE Emulation PCI PIIX3/4 support is vulnerable
to a use-after-free flaw. It could occur when trying to write data to an I/O
port inside guest. This issue is specific to the Xen platform.
A privileged(CAP_SYS_RAWIO) guest user on the Xen platform could use this flaw
to crash the Qemu instance or probably attempt to make a guest escape.
Upstream fix:
-> git.qemu.org/?p=qemu.git;a=commit;h=6cd387833d05e8ad31829d97e474dc420625aed9
Reference:
-> http://www.openwall.com/lists/oss-security/2015/08/03/3
Discussion:
Statement:
This issue does not affect the versions of kvm and xen packages as shipped with Red Hat Enterprise Linux 5.
This issue does not affect the versions of the qemu-kvm pac
http://lists.fedoraproject.org/pipermail/package-announce/2015-September/165373.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-September/167792.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-September/167820.htmlhttp://www.securityfocus.com/bid/76152http://www.securitytracker.com/id/1033175http://xenbits.xen.org/xsa/advisory-139.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-September/165373.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-September/167792.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-September/167820.htmlhttp://www.securityfocus.com/bid/76152http://www.securitytracker.com/id/1033175http://xenbits.xen.org/xsa/advisory-139.html
2015-08-12
Published