Bug 1664712 (CVE-2018-20671) - CVE-2018-20671 binutils: Integer overflow in load_specific_debug_section function
Summary: CVE-2018-20671 binutils: Integer overflow in load_specific_debug_section func...
Status: NEW
Alias: CVE-2018-20671
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: impact=moderate,public=20181219,repor...
Keywords: Security
Depends On: 1664713 1664714 1664715 1666219 1666220
Blocks: 1664716
TreeView+ depends on / blocked
 
Reported: 2019-01-09 13:46 UTC by Andrej Nemec
Modified: 2019-06-11 07:57 UTC (History)
14 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Andrej Nemec 2019-01-09 13:46:27 UTC
An integer overflow was found in load_specific_debug_section function.

Upstream issue:

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

Upstream patch:

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

Comment 1 Andrej Nemec 2019-01-09 13:48:21 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1664713]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1664715]
Affects: fedora-all [bug 1664714]

Comment 2 Riccardo Schirone 2019-01-15 08:58:31 UTC
When binutils is compiled in 32bit mode, an integer overflow is possible in load_specific_debug_section function() in objdump.c which may lead to an heap-based buffer overflow in bfd_get_full_section_contents().

Comment 6 Riccardo Schirone 2019-01-23 08:54:19 UTC
Statement:

This issue did not affect the versions of binutils as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include the vulnerable code. Moreover the flaw can only be triggered on 32bit versions of the component.


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