CVE-2017-5667
The sdhci_sdma_transfer_multi_blocks function in hw/sd/sdhci.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (out-of-bounds heap access and crash) or execute arbitrary code on the QEMU host via vectors involving the data transfer length.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | qemu | Fixed | 1:2.5+dfsg-5ubuntu10.11 | UBUNTU-CVE-2017-5667 |
| Ubuntu 14.04 | qemu | Fixed | 2.0.0+dfsg-2ubuntu1.33 | UBUNTU-CVE-2017-5667 |
| Debian 14 | qemu | Fixed | 1:2.8+dfsg-3 | DEBIAN-CVE-2017-5667 |
| Debian 13 | qemu | Fixed | 1:2.8+dfsg-3 | DEBIAN-CVE-2017-5667 |
| Debian 12 | qemu | Fixed | 1:2.8+dfsg-3 | DEBIAN-CVE-2017-5667 |
| Red Hat Enterprise Linux 7 | libcacard | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-rhev | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 5 | kvm | Not affected | ||
| Red Hat Enterprise Linux 5 | xen | Not affected | ||
| Alpine Linux 3.24 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.23 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.22 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.21 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.20 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.19 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.18 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.17 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.16 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.15 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.14 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.13 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.12 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.11 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.10 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.9 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.8 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.7 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.6 | qemu | Fixed | 2.8.1-r1 | ALPINE-CVE-2017-5667 |
| Alpine Linux 3.5 | qemu | Fixed | 2.8.1.1-r0 | ALPINE-CVE-2017-5667 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201702-28 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2018/09/msg00007.html
- http://www.openwall.com/lists/oss-security/2017/01/30/2
- https://security.gentoo.org/glsa/201702-28
- http://www.securityfocus.com/bid/95885
- http://www.openwall.com/lists/oss-security/2017/02/12/1
- https://bugzilla.redhat.com/show_bug.cgi?id=1417559
- http://www.openwall.com/lists/oss-security/2017/01/31/10
- http://git.qemu-project.org/?p=qemu.git%3Ba=commitdiff%3Bh=42922105beb14c2fc58185ea022b9f72fb5465e9
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.