Bug 1553115 (CVE-2018-7642)

Summary: CVE-2018-7642 binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aoliva, darunesh, dvlasenk, erik-fedora, jakub, klember, ktietz, law, nickc, ohudlick, rjones, yselkowi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:17:07 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: 1551786, 1551787, 1553121, 1579799    
Bug Blocks: 1553120, 1686787    

Description Andrej Nemec 2018-03-08 10:50:21 UTC
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.

Upstream issue:

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

Upstream patches:

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

Comment 1 Andrej Nemec 2018-03-08 10:57:13 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1551786]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1551787]

Comment 4 errata-xmlrpc 2018-10-30 07:23:47 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

Comment 5 Riccardo Schirone 2019-03-12 17:26:39 UTC
*** Bug 1686781 has been marked as a duplicate of this bug. ***