CVE-2017-16845
published 2017-11-17CVE-2017-16845: hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
PriorityP348critical10CVSS 3.1
AVNACLPRNUINSCCHINAH
EPSS
3.02%
86.0th percentile
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | qemu | < qemu 1:2.12~rc3+dfsg-1 (bookworm) | qemu 1:2.12~rc3+dfsg-1 (bookworm) |
| qemu | qemu | <= 2.11.2 | — |
| qemu | qemu | >= 0 < 1:2.12~rc3+dfsg-1 | 1:2.12~rc3+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.12~rc3+dfsg-1 | 1:2.12~rc3+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.12~rc3+dfsg-1 | 1:2.12~rc3+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.12~rc3+dfsg-1 | 1:2.12~rc3+dfsg-1 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.41 | 2.0.0+dfsg-2ubuntu1.41 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.39 | 2.0.0+dfsg-2ubuntu1.39 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.40 | 2.0.0+dfsg-2ubuntu1.40 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.28 | 1:2.5+dfsg-5ubuntu10.28 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.22 | 1:2.5+dfsg-5ubuntu10.22 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.24 | 1:2.5+dfsg-5ubuntu10.24 |
| qemu | qemu | >= 0 < 1:2.11+dfsg-1ubuntu7.1 | 1:2.11+dfsg-1ubuntu7.1 |
CVSS provenance
nvdv3.110.0CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv10.0CRITICAL
vendor_debian10.0CRITICAL
vendor_redhat10.0CRITICAL
vendor_ubuntu10.0CRITICAL
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-3whx-jj33-9r95: hw/input/ps2
ghsa_unreviewed·2022-05-13
CVE-2017-16845 [CRITICAL] CWE-20 GHSA-3whx-jj33-9r95: hw/input/ps2
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
OSV
qemu vulnerabilities
osv·2018-05-16·CVSS 10.0
CVE-2017-16845 [CRITICAL] qemu vulnerabilities
qemu vulnerabilities
Cyrille Chatras discovered that QEMU incorrectly handled certain PS2 values
during migration. An attacker could possibly use this issue to cause QEMU
to crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 18.04 LTS. (CVE-2017-16845)
Cyrille Chatras discovered that QEMU incorrectly handled multiboot. An
attacker 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. (CVE-2018-7550)
Ross Lagerwall discovered that QEMU incorrectly handled the Cirrus VGA
device. A privileged attacker inside the guest could use this issue to
OSV
qemu regression
osv·2018-03-05·CVSS 4.4
CVE-2017-11334 [MEDIUM] qemu regression
qemu regression
USN-3575-1 fixed vulnerabilities in QEMU. The fix for CVE-2017-11334 caused
a regression in Xen environments. This update removes the problematic fix
pending further investigation.
We apologize for the inconvenience.
Original advisory details:
It was discovered that QEMU incorrectly handled guest ram. A privileged
attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2017-11334)
David Buchanan discovered that QEMU incorrectly handled the VGA device. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue was only addressed in
Ubuntu 17.10. (CVE-2017-13672)
Thomas Garnier discove
OSV
qemu vulnerabilities
osv·2018-02-20·CVSS 4.4
CVE-2017-11334 [MEDIUM] qemu vulnerabilities
qemu vulnerabilities
It was discovered that QEMU incorrectly handled guest ram. A privileged
attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2017-11334)
David Buchanan discovered that QEMU incorrectly handled the VGA device. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue was only addressed in
Ubuntu 17.10. (CVE-2017-13672)
Thomas Garnier discovered that QEMU incorrectly handled multiboot. An
attacker 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 libvir
OSV
CVE-2017-16845: hw/input/ps2
osv·2017-11-17·CVSS 10.0
CVE-2017-16845 [CRITICAL] CVE-2017-16845: hw/input/ps2
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2018-05-16·CVSS 10.0
CVE-2017-16845 [CRITICAL] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Cyrille Chatras discovered that QEMU incorrectly handled certain PS2 values
during migration. An attacker could possibly use this issue to cause QEMU
to crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 18.04 LTS. (CVE-2017-16845)
Cyrille Chatras discovered that QEMU incorrectly handled multiboot. An
attacker 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. (CVE-2018-7550)
Ross Lagerwall discovered that QEMU incorrectly handled the Cirrus VGA
device. A
Ubuntu
QEMU regression
vendor_ubuntu·2018-03-05·CVSS 4.4
CVE-2017-11334 [MEDIUM] QEMU regression
Title: QEMU regression
Summary: USN-3575-1 introduced a regression in QEMU.
USN-3575-1 fixed vulnerabilities in QEMU. The fix for CVE-2017-11334 caused
a regression in Xen environments. This update removes the problematic fix
pending further investigation.
We apologize for the inconvenience.
Original advisory details:
It was discovered that QEMU incorrectly handled guest ram. A privileged
attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2017-11334)
David Buchanan discovered that QEMU incorrectly handled the VGA device. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue was only addres
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2018-02-20·CVSS 4.4
CVE-2017-11334 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
It was discovered that QEMU incorrectly handled guest ram. A privileged
attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. (CVE-2017-11334)
David Buchanan discovered that QEMU incorrectly handled the VGA device. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue was only addressed in
Ubuntu 17.10. (CVE-2017-13672)
Thomas Garnier discovered that QEMU incorrectly handled multiboot. An
attacker could use this issue to cause QEMU to crash, resulting in a denial
of service, or possibly execute arbitrary code on the hos
Red Hat
Qemu: ps2: information leakage via post_load routine
vendor_redhat·2017-11-15·CVSS 10.0
CVE-2017-16845 [CRITICAL] CWE-125 Qemu: ps2: information leakage via post_load routine
Qemu: ps2: information leakage via post_load routine
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
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) - Will not fix
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 6 (Juno)) - Will not fix
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)) - Will not fix
Package: qemu-kvm-rhev (Red Hat OpenStack Platform 10 (Newton)) - Will not fix
Package: qemu-kvm-rhev (Red Hat OpenStack P
Debian
CVE-2017-16845: qemu - hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest ...
vendor_debian·2017·CVSS 10.0
CVE-2017-16845 [CRITICAL] CVE-2017-16845: qemu - hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest ...
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
Scope: local
bookworm: resolved (fixed in 1:2.12~rc3+dfsg-1)
bullseye: resolved (fixed in 1:2.12~rc3+dfsg-1)
forky: resolved (fixed in 1:2.12~rc3+dfsg-1)
sid: resolved (fixed in 1:2.12~rc3+dfsg-1)
trixie: resolved (fixed in 1:2.12~rc3+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-16845 Qemu: ps2: information leakage via post_load routine
bugzilla·2017-11-16·CVSS 10.0
CVE-2017-16845 [CRITICAL] CVE-2017-16845 Qemu: ps2: information leakage via post_load routine
CVE-2017-16845 Qemu: ps2: information leakage via post_load routine
Quick Emulator(Qemu) built with the PS/2 keyboard and mouse emulation
support along with the migration feature enabled is vulnerable to an
information leakage flaw. It could occur while loading a migrated
snapshot on the destination host in PS2 post_load routine.
A privileged user could use this flaw to leak destination host memory
bytes.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg06643.html
Reference:
-> http://www.openwall.com/lists/oss-security/2017/11/17/1
Discussion:
Acknowledgments:
Name: Cyrille Chatras (Orange.com)
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1514150]
Created xen tracking bugs for this issue:
Affects: fedora-all [bug 1514149]
Bugzilla
CVE-2017-16845 xen: Qemu: ps2: information leakage via post_load routine [fedora-all]
bugzilla·2017-11-16·CVSS 10.0
CVE-2017-16845 [CRITICAL] CVE-2017-16845 xen: Qemu: ps2: information leakage via post_load routine [fedora-all]
CVE-2017-16845 xen: Qemu: ps2: information leakage via post_load routine [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-all.
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
Bugzilla
CVE-2017-16845 Qemu: ps2: information leakage via post_load routine [fedora-all]
bugzilla·2017-11-16·CVSS 10.0
CVE-2017-16845 [CRITICAL] CVE-2017-16845 Qemu: ps2: information leakage via post_load routine [fedora-all]
CVE-2017-16845 Qemu: ps2: information leakage via post_load routine [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-all.
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://www.securityfocus.com/bid/101923https://lists.debian.org/debian-lts-announce/2018/09/msg00007.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2017-11/msg02982.htmlhttps://usn.ubuntu.com/3575-1/https://usn.ubuntu.com/3649-1/https://www.debian.org/security/2018/dsa-4213http://www.securityfocus.com/bid/101923https://lists.debian.org/debian-lts-announce/2018/09/msg00007.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2017-11/msg02982.htmlhttps://usn.ubuntu.com/3575-1/https://usn.ubuntu.com/3649-1/https://www.debian.org/security/2018/dsa-4213
2017-11-17
Published