Bug 1440830 (CVE-2017-7302)

Summary: CVE-2017-7302 binutils: Out-of-bounds read in wap_std_reloc_out 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:50:08 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:36:06 UTC
The Binary File Descriptor (BFD) library (aka libbfd) has a swap_std_reloc_out function in bfd/aoutx.h that is vulnerable to an invalid read (of size 4) because of missing checks for relocs that could not be recognised. This vulnerability causes Binutils utilities like strip to crash. 

Upstream bug:

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

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

Affects: epel-all [bug 1435309]