Bug 1574697 (CVE-2018-10535) - CVE-2018-10535 binutils: NULL pointer dereference in elf.c
Summary: CVE-2018-10535 binutils: NULL pointer dereference in elf.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-10535
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: 1574698 1574700 1574701 1574704 1574705 1578974 1578975 1578978 1578979
Blocks: 1574703
TreeView+ depends on / blocked
 
Reported: 2018-05-03 21:13 UTC by Laura Pardo
Modified: 2019-09-29 14:38 UTC (History)
12 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3032 0 None None None 2018-10-30 07:24:26 UTC

Description Laura Pardo 2018-05-03 21:13:01 UTC
A flaw was found in the ignore_section_sym function in elf.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, does not validate the output_section pointer in the case of a symtab entry with a "SECTION" type that has a "0" value, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file, as demonstrated by objcopy.


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

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

Comment 1 Laura Pardo 2018-05-03 21:15:45 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1574700]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1574698]
Affects: fedora-all [bug 1574701]

Comment 3 Pedro Yóssis Silva Barbosa 2018-05-16 17:43:05 UTC
The worst outcome should be a mere crash/application abort.

Comment 8 errata-xmlrpc 2018-10-30 07:24:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3032 https://access.redhat.com/errata/RHSA-2018:3032


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