Bug 1581013 (CVE-2018-10839)

Summary: CVE-2018-10839 QEMU: ne2000: integer overflow leads to buffer overflow issue
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ailan, amit, apevec, areis, berrange, cfergeau, chrisw, daniel, drjones, dwmw2, imammedo, itamar, jasowang, jen, jforbes, jjoyce, jschluet, kbasil, knoel, lhh, lpardo, lpeer, markmc, m.a.young, mburns, mkenneth, mrezanin, mst, pbonzini, ppandit, rbalakri, rbryant, rjones, rkrcmar, robinlee.sysu, sclewis, security-response-team, sfowler, slinaber, srevivo, tdecacqu, tohidi.arash, virt-maint, virt-maint, vkuznets, xen-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An integer overflow issue was found in the NE200 NIC emulation. It could occur while receiving packets from the network, if the size value was greater than INT_MAX. Such overflow would lead to stack buffer overflow issue. A user inside guest could use this flaw to crash the QEMU process, resulting in DoS scenario.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-24 18:45:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1636413, 1636414, 1636415, 1636416, 1636417, 1636418, 1636419, 1636420, 1636421, 1636422, 1636428, 1636429, 1636430, 1793214    
Bug Blocks: 1581014, 1613563    

Description Sam Fowler 2018-05-22 01:02:31 UTC
Qemu emulator built with the NE2000 NIC emulation support is vulnerable to an integer overflow, which could lead to buffer overflow issue. It could occur when receiving packets over the network.

A user inside guest could use this flaw to crash the Qemu process resulting in DoS.

Upstream fix:
  -> https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03273.html

  -> https://www.openwall.com/lists/oss-security/2018/10/08/1

Comment 3 Sam Fowler 2018-07-25 01:28:53 UTC

Name: Daniel Shapira (Twistlock), Arash Tohidi

Comment 6 Prasad Pandit 2018-10-05 11:11:58 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1636429]

Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1636428]

Comment 8 Prasad Pandit 2018-10-08 04:35:15 UTC
*** Bug 1613562 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2019-09-24 13:32:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2019:2892 https://access.redhat.com/errata/RHSA-2019:2892

Comment 10 Product Security DevOps Team 2019-09-24 18:45:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):