Bug 1435640 (CVE-2017-6965) - CVE-2017-6965 binutils: Heap-based buffer overflow in target_specific_reloc_handling in readelf
Summary: CVE-2017-6965 binutils: Heap-based buffer overflow in target_specific_reloc_h...
Keywords:
Status: NEW
Alias: CVE-2017-6965
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1435307 1435308 1435309
Blocks: 1435650
TreeView+ depends on / blocked
 
Reported: 2017-03-24 12:36 UTC by Adam Mariš
Modified: 2019-09-29 14:08 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the readelf utility; part of binutils. A crafted ELF executable or shared library could cause readelf to write arbitrary locations on the heap while processing relocations, leading to a crash or potential code execution.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Adam Mariš 2017-03-24 12:36:22 UTC
readelf in GNU Binutils 2.28 writes to illegal addresses while processing corrupt input files containing symbol-difference relocations, leading to a heap-based buffer overflow.

Upstream bug:

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

Upstream patch:

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

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

Affects: epel-all [bug 1435309]

Comment 4 Doran Moppert 2017-05-30 04:42:19 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


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