Bug 1647403 (CVE-2018-18605)

Summary: CVE-2018-18605 binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dbaker, dvlasenk, erik-fedora, fweimer, jakub, jokerman, kanderso, klember, mcermak, mnewsome, mpolacek, nickc, ohudlick, rjones, sthangav, trankin, virt-maint, 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: 2021-10-25 22:21:51 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: 1647404, 1647405, 1647406, 1647407, 1654423, 1654424, 1654429    
Bug Blocks: 1647427    

Description Laura Pardo 2018-11-07 12:12:05 UTC
A flaw was found in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge.c because _bfd_add_merge_section mishandles section merges when size is not a multiple of entsize. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld. 


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

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

Comment 1 Laura Pardo 2018-11-07 12:13:45 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1647405]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1647404]

Comment 6 Scott Gayou 2018-11-28 18:44:19 UTC
Straight forward to reproduce.