Skip to content
OpenAdvisories
High · 8.3 Public exploit CVE-2017-15118 EUVD-2017-6579GHSA-p8q8-xqgv-rwvr

A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an expo…

Published Jul 27, 2018 · Updated Aug 5, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
QEMU Qemu 2.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:2.11+dfsg-1 —
Debian 13 qemu 1:2.11+dfsg-1 —
Debian 12 qemu 1:2.11+dfsg-1 —
ReleasePackageFixed inAdvisory
RHEL 7 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1104
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenStack 12 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1113
Red Hat OpenStack 11 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1113
Red Hat OpenStack 10 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1113
Red Hat OpenStack 9 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1113
Red Hat OpenStack 8 qemu-img-rhev +3 10:2.10.0-21.el7 RHSA-2018:1113
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 6.1.0-32.1 openSUSE-SU-2024:11287-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References