Bug 1647403 (CVE-2018-18605) - CVE-2018-18605 binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c
Summary: CVE-2018-18605 binutils: heap-based buffer over-read in sec_merge_hash_lookup...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-18605
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1647404 1647405 1647406 1647407 1654423 1654424 1654429
Blocks: 1647427
TreeView+ depends on / blocked
 
Reported: 2018-11-07 12:12 UTC by Laura Pardo
Modified: 2021-10-25 22:21 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 22:21:51 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.