Bug 1435632 (CVE-2017-7209)

Summary: CVE-2017-7209 binutils: Null pointer dereference in dump_section_as_bytes function in readelf
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
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, yozone, 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-08 03:09:35 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 Adam Mariš 2017-03-24 12:24:33 UTC
The dump_section_as_bytes function in readelf in GNU Binutils 2.28 accesses a NULL pointer while reading section contents in a corrupt binary, leading to a program crash.

Upstream bug:

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

Upstream patch:

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

Comment 1 Adam Mariš 2017-03-24 12:57:55 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1435308]

Comment 2 Adam Mariš 2017-03-24 12:58:04 UTC
Created mingw-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1435307]
Affects: epel-all [bug 1435309]