Bug 1636773 (CVE-2018-17962)

Summary: CVE-2018-17962 QEMU: pcnet: integer overflow leads to buffer overflow
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amit, areis, berrange, cfergeau, dwmw2, itamar, jen, jforbes, knoel, lpardo, m.a.young, mkenneth, mrezanin, mst, pbonzini, rjones, robinlee.sysu, tohidi.arash, virt-maint, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An integer overflow issue was found in the AMD PC-Net II NIC emulation in QEMU. It could occur while receiving packets, 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-24 18:45:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1636774, 1636775, 1636776    
Bug Blocks: 1581014, 1613563    

Description Prasad Pandit 2018-10-07 15:26:18 UTC
Qemu emulator built with the AMD PC-Net II (Am79C970A) 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/msg03268.html

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

Comment 1 Prasad Pandit 2018-10-07 15:26:40 UTC
Acknowledgments:

Name: Daniel Shapira (Twistlock), Arash Tohidi

Comment 2 Prasad Pandit 2018-10-07 15:28:07 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1636775]


Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1636776]

Comment 4 Prasad Pandit 2018-10-08 04:34:29 UTC
*** Bug 1613561 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2019-09-24 13:32:21 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 6 Product Security DevOps Team 2019-09-24 18:45:40 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-17962