Bug 1546622 (CVE-2018-7208)

Summary: CVE-2018-7208 binutils: Improper bounds check in coffgen.c:coff_pointerize_aux() allows for denial of service when parsing a crafted COFF file
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aoliva, dvlasenk, erik-fedora, jakub, kanderso, klember, ktietz, law, mcermak, mnewsome, mpolacek, nickc, ohudlick, rjones, scorneli, yselkowi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: binutils 2.31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:40:19 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: 1546623, 1546624, 1571917, 1571918    
Bug Blocks: 1546625    

Description Sam Fowler 2018-02-19 04:37:39 UTC
In GNU Binutils through version 2.30, the coff_pointerize_aux function in coffgen.c in the Binary File Descriptor (BFD) library (aka libbfd), an index is not properly validated, allowing an attacker to cause a denial of service via a crash (segmentation fault) when parsing a file with a crafted COFF file.


Upstream Issue:

https://sourceware.org/bugzilla/show_bug.cgi?id=22741


Upstream Patch:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eb77f6a4621795367a39cdd30957903af9dbb815

Comment 1 Sam Fowler 2018-02-19 04:38:12 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1546624]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1546623]

Comment 6 errata-xmlrpc 2018-10-30 07:23:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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