Bug 1440833 (CVE-2017-7304)

Summary: CVE-2017-7304 binutils: Out-of-bounds read in copy_special_section_fields function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, fedora-mingw, 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: 2017-05-10 08:49:53 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: 1435307, 1435308, 1435309    
Bug Blocks:    

Description Andrej Nemec 2017-04-10 14:39:19 UTC
The Binary File Descriptor (BFD) library (aka libbfd) is vulnerable to an invalid read (of size 8) because of missing a check (in the copy_special_section_fields function) for an invalid sh_link field before attempting to follow it. This vulnerability causes Binutils utilities like strip to crash.

Upstream bug:

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

Comment 1 Andrej Nemec 2017-04-10 14:57:28 UTC
Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1435309]