CVEfocus › CVE database › CVE-2017-15118

CVE-2017-15118

CVSS 8.3 HighEPSS 11.9% (higher than 96% of CVEs)Published 2018-07-27Updated 2024-08-05Assigner: redhat

A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, causing an out-of-bounds stack write in the qemu process. If NBD server requires TLS, the attacker cannot trigger the buffer overflow without first successfully negotiating TLS.

CWE-121

What to do

Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

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

7Fixed
4Fix pending
32Not 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.11+dfsg-1DEBIAN-CVE-2017-15118
Debian 13qemuFixed1:2.11+dfsg-1DEBIAN-CVE-2017-15118
Debian 12qemuFixed1:2.11+dfsg-1DEBIAN-CVE-2017-15118
Red Hat Enterprise Linux 8qemu-guest-agentNot affected
Red Hat Enterprise Linux 8qemu-imgNot affected
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-glusterNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-sshNot affected
Red Hat Enterprise Linux 8qemu-kvm-commonNot affected
Red Hat Enterprise Linux 8qemu-kvm-coreNot affected
Red Hat Enterprise Linux 8qemu-kvm-docsNot affected
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirNot affected
Red Hat Enterprise Linux 8qemu-kvm-testsNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceNot affected
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-img-maFix pending
Affected
Red Hat Enterprise Linux 7qemu-img-rhevFixed10:2.10.0-21.el7RHSA-2018:1104
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-common-maFix pending
Affected
Red Hat Enterprise Linux 7qemu-kvm-common-rhevFixed10:2.10.0-21.el7RHSA-2018:1104
Red Hat Enterprise Linux 7qemu-kvm-maFix pending
Affected
Red Hat Enterprise Linux 7qemu-kvm-rhevFixed10:2.10.0-21.el7RHSA-2018:1104
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 7qemu-kvm-tools-maFix pending
Affected
Red Hat Enterprise Linux 7qemu-kvm-tools-rhevFixed10:2.10.0-21.el7RHSA-2018:1104
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

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.