Bug 1440826 (CVE-2017-7299)

Summary: CVE-2017-7299 binutils: Out-of-bounds read in bfd_elf_final_link 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:27 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:30:43 UTC
The Binary File Descriptor (BFD) library (aka libbfd) has an invalid read (of size 8) because the code to emit relocs (bfd_elf_final_link function in bfd/elflink.c) does not check the format of the input file before trying to read the ELF reloc section header. The vulnerability leads to a GNU linker (ld) program crash.

Upstream bug:

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

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

Affects: epel-all [bug 1435309]