CVE-2017-15118
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•HIGH•Score: 8.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- v3.0•CRITICAL•Score: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 11.93%• Percentile: 96%
Techniques & Countermeasures
- CWE-121•Stack-based Buffer Overflow
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 17.10
- debian•qemu
< 1:2.11+dfsg-1 | < 1:2.11+dfsg-1 | < 1:2.11+dfsg-1 | < 1:2.11+dfsg-1
- qemu•qemu
2.11 | < 2.11
- redhat•enterprise_linux
7.0
References (8)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15118
- https://access.redhat.com/errata/RHSA-2018:1104
- https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html
- https://usn.ubuntu.com/3575-1/
- http://www.securityfocus.com/bid/101975
- http://www.openwall.com/lists/oss-security/2017/11/28/8
- https://www.exploit-db.com/exploits/43194/
- https://security-tracker.debian.org/tracker/CVE-2017-15118