CVE-2017-15118 Memory corruption in Qemu
A stack-based buffer overflow in QEMU's NBD server allows remote attackers to execute arbitrary code or cause a denial of service via a crafted export name.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-15118?
CVE-2017-15118 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 27 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2017-15118?
It affects 3 products.
Products include Canonical Ubuntu Linux, Qemu Qemu, Redhat Enterprise Linux.
How do I fix CVE-2017-15118?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-15118 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-15118 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2017-15118, GHSA-p8q8-xqgv-rwvr.