CVEfocus › CVE database › CVE-2017-5931

CVE-2017-5931

CVSS 8.8 HighEPSS 0.5% (higher than 46% of CVEs)Published 2017-03-27Updated 2024-08-05Assigner: redhat

Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code on the host via a crafted virtio-crypto request, which triggers a heap-based buffer overflow.

What to do

Fixed builds are available from Alpine, Debian: 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

23Fixed
18Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04qemuNot affected
vulnerable_code_not_present
Debian 14qemuFixed1:2.8+dfsg-3DEBIAN-CVE-2017-5931
Debian 13qemuFixed1:2.8+dfsg-3DEBIAN-CVE-2017-5931
Debian 12qemuFixed1:2.8+dfsg-3DEBIAN-CVE-2017-5931
Red Hat Enterprise Linux 7libcacardNot affected
Red Hat Enterprise Linux 7libcacard-develNot affected
Red Hat Enterprise Linux 7libcacard-toolsNot affected
Red Hat Enterprise Linux 7qemu-guest-agentNot affected
Red Hat Enterprise Linux 7qemu-imgNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 6qemu-guest-agentNot affected
Red Hat Enterprise Linux 6qemu-guest-agent-win32Not affected
Red Hat Enterprise Linux 6qemu-imgNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 6qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 5kvmNot affected
Red Hat Enterprise Linux 5xenNot affected
Alpine Linux 3.24qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.23qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.22qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.21qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.20qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.19qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.18qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.17qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.16qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.15qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.14qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.13qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.12qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.11qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.10qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.9qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.8qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.7qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.6qemuFixed2.8.1-r1ALPINE-CVE-2017-5931
Alpine Linux 3.5qemuFixed2.8.1.1-r0ALPINE-CVE-2017-5931

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:

References

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.