CVE-2017-5898
published 2017-03-15CVE-2017-5898: Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.40%
32.2th percentile
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 1:2.8+dfsg-3 (bookworm) | qemu 1:2.8+dfsg-3 (bookworm) |
| qemu | qemu | <= 2.8.1.1 | — |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 1:2.8+dfsg-3 | 1:2.8+dfsg-3 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.33 | 2.0.0+dfsg-2ubuntu1.33 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.11 | 1:2.5+dfsg-5ubuntu10.11 |
| suse | linux_enterprise_desktop | — | — |
| suse | linux_enterprise_server | — | — |
| suse | linux_enterprise_server_for_sap | — | — |
| suse | linux_enterprise_software_development_kit | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
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.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2017-04-20·CVSS 5.5
CVE-2016-10028 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio GPU
device. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue only affected Ubuntu
16.04 LTS and Ubuntu 16.10. (CVE-2016-10028, CVE-2016-10029)
Li Qiang discovered that QEMU incorrectly handled the 6300esb watchdog. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2016-10155)
Li Qiang discovered that QEMU incorrectly handled the i.MX Fast Ethernet
Controller. 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 Ub
Red Hat
Qemu: usb: integer overflow in emulated_apdu_from_guest
vendor_redhat·2017-02-03·CVSS 5.5
CVE-2017-5898 [MEDIUM] CWE-190 Qemu: usb: integer overflow in emulated_apdu_from_guest
Qemu: usb: integer overflow in emulated_apdu_from_guest
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
An integer overflow flaw was found in Quick Emulator (QEMU) in the CCID Card device support. The flaw could occur while passing messages via command/response packets to and from the host. A privileged user inside a guest could use this flaw to crash the QEMU process.
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
Debian
CVE-2017-5898: qemu - Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-r...
vendor_debian·2017·CVSS 5.5
CVE-2017-5898 [MEDIUM] CVE-2017-5898: qemu - Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-r...
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
Scope: local
bookworm: resolved (fixed in 1:2.8+dfsg-3)
bullseye: resolved (fixed in 1:2.8+dfsg-3)
forky: resolved (fixed in 1:2.8+dfsg-3)
sid: resolved (fixed in 1:2.8+dfsg-3)
trixie: resolved (fixed in 1:2.8+dfsg-3)
GHSA
GHSA-vfvm-h748-r758: Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader
ghsa_unreviewed·2022-05-13
CVE-2017-5898 [MEDIUM] CWE-190 GHSA-vfvm-h748-r758: Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
OSV
qemu vulnerabilities
osv·2017-04-20·CVSS 5.5
CVE-2016-10028 [MEDIUM] qemu vulnerabilities
qemu vulnerabilities
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio GPU
device. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. This issue only affected Ubuntu
16.04 LTS and Ubuntu 16.10. (CVE-2016-10028, CVE-2016-10029)
Li Qiang discovered that QEMU incorrectly handled the 6300esb watchdog. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2016-10155)
Li Qiang discovered that QEMU incorrectly handled the i.MX Fast Ethernet
Controller. 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 16.04 LTS and Ubuntu 16.10. (CVE-2016-7907)
It was disc
OSV
CVE-2017-5898: Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader
osv·2017-03-15·CVSS 5.5
CVE-2017-5898 [MEDIUM] CVE-2017-5898: Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader
Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest
bugzilla·2017-02-06·CVSS 5.5
CVE-2017-5898 [MEDIUM] CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest
CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest
Quick Emulator(Qemu) built with the CCID Card device emulator support
is vulnerable to an integer overflow flaw. It could occur while passing
message via command/responses packets to and from the host.
A privileged user inside guest could use this flaw to crash the Qemu process
on host resulting in DoS.
Upstream patch:
-> https://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg01075.html
Reference:
-> http://www.openwall.com/lists/oss-security/2017/02/07/3
Discussion:
Acknowledgments:
Name: Li Qiang (360.cn Inc.)
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1419700]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2017:1856 https
Bugzilla
CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest [fedora-all]
bugzilla·2017-02-06·CVSS 5.5
CVE-2017-5898 [MEDIUM] CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest [fedora-all]
CVE-2017-5898 Qemu: usb: integer overflow in emulated_apdu_from_guest [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 version
http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=c7dfbf322595ded4e70b626bf83158a9f3807c6ahttp://lists.opensuse.org/opensuse-security-announce/2017-02/msg00045.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-02/msg00048.htmlhttp://www.openwall.com/lists/oss-security/2017/02/07/3http://www.securityfocus.com/bid/96112https://access.redhat.com/errata/RHSA-2017:1856https://access.redhat.com/errata/RHSA-2017:2392https://bugzilla.redhat.com/show_bug.cgi?id=1419699https://security.gentoo.org/glsa/201702-28http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=c7dfbf322595ded4e70b626bf83158a9f3807c6ahttp://lists.opensuse.org/opensuse-security-announce/2017-02/msg00045.htmlhttp://lists.opensuse.org/opensuse-security-announce/2017-02/msg00048.htmlhttp://www.openwall.com/lists/oss-security/2017/02/07/3http://www.securityfocus.com/bid/96112https://access.redhat.com/errata/RHSA-2017:1856https://access.redhat.com/errata/RHSA-2017:2392https://bugzilla.redhat.com/show_bug.cgi?id=1419699https://security.gentoo.org/glsa/201702-28
2017-03-15
Published