Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1516922 - (CVE-2017-15118) CVE-2017-15118 Qemu: stack buffer overflow in NBD server triggered via long export name
CVE-2017-15118 Qemu: stack buffer overflow in NBD server triggered via long e...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20171128,repo...
: Security
Depends On: 1518236 1525813 1516545 1517756 1518235 1518548
Blocks: 1516923
  Show dependency treegraph
 
Reported: 2017-11-23 10:03 EST by Adam Mariš
Modified: 2018-07-27 04:02 EDT (History)
53 users (show)

See Also:
Fixed In Version: qemu 2.11
Doc Type: Bug Fix
Doc Text:
A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu allowing a client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, allowing 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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1.06 KB, patch)
2017-11-23 10:27 EST, Adam Mariš
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1104 None None None 2018-04-10 14:58 EDT

  None (edit)
Description Adam Mariš 2017-11-23 10:03:14 EST
A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu allowing client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, allowing to cause out-of-bounds stack write in qemu process.

If NBD server requires TLS, the attacker cannot trigger the buffer overflow without first successfully negotiating TLS.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/11/28/8
Comment 1 Adam Mariš 2017-11-23 10:03:17 EST
Acknowledgments:

Name: Eric Blake (Red Hat)
Comment 2 Adam Mariš 2017-11-23 10:27 EST
Created attachment 1358264 [details]
Proposed patch
Comment 3 Adam Mariš 2017-11-23 10:29:13 EST
Issue was introduced by commit:

https://git.qemu.org/?p=qemu.git;a=commit;h=f37708f6b8 (qemu 2.10)
Comment 6 Prasad J Pandit 2017-11-28 08:23:24 EST
Created qemu tracking bugs for this issue:

Affects: epel-7 [bug 1518236]
Affects: fedora-all [bug 1518235]
Comment 9 errata-xmlrpc 2018-04-10 14:58:08 EDT
This issue has been addressed in the following products:

  Red Hat Virtualization 4 for RHEL-7

Via RHSA-2018:1104 https://access.redhat.com/errata/RHSA-2018:1104

Note You need to log in before you can comment on or make changes to this bug.