Bug 1162594 (CVE-2014-8502) - CVE-2014-8502 binutils: heap overflow in objdump when parsing a crafted ELF/PE binary file (incomplete fix for CVE-2014-8485)
Summary: CVE-2014-8502 binutils: heap overflow in objdump when parsing a crafted ELF/P...
Status: CLOSED ERRATA
Alias: CVE-2014-8502
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: impact=low,public=20141028,reported=2...
Keywords: Security
Depends On: 1162604 1162598 1162599 1162600 1162601 1162602 1162603 1162605 1162606 1168281 1168302 1172710
Blocks: 1156276 1210268
TreeView+ depends on / blocked
 
Reported: 2014-11-11 11:20 UTC by Vasyl Kaigorodov
Modified: 2019-06-11 11:13 UTC (History)
22 users (show)

(edit)
It was found that the fix for the CVE-2014-8485 issue was incomplete: a heap-based buffer overflow in the objdump utility could cause it to crash or, potentially, execute arbitrary code with the privileges of the user running objdump when processing specially crafted files.
Clone Of:
(edit)
Last Closed: 2019-06-08 02:35:50 UTC


Attachments (Terms of Use)
Amalgamted patch to fix all of the bugs referenced by PR 1712#c17 (19.50 KB, patch)
2015-06-26 15:29 UTC, Nick Clifton
no flags Details | Diff
Corrupt binary that (used to) crash objdump -x (544 bytes, application/x-ms-dos-executable)
2015-06-26 15:31 UTC, Nick Clifton
no flags Details
Second corrupt binary that (used to ) crash objdump -x (544 bytes, application/octet-stream)
2015-06-26 15:32 UTC, Nick Clifton
no flags Details
Corrupt ELF binary that (used to) crash objdump -x (4.17 KB, application/x-executable)
2015-06-26 15:33 UTC, Nick Clifton
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2079 normal SHIPPED_LIVE Moderate: binutils security, bug fix, and enhancement update 2015-11-19 07:41:11 UTC

Description Vasyl Kaigorodov 2014-11-11 11:20:07 UTC
A heap overflow was reborted [1] when running objdump on a specially crafted PE executable [2].
Upstream patches that address this are at [3] and [4].

[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17512#c17
[2]: https://sourceware.org/bugzilla/attachment.cgi?id=7862
[3]: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5a4b0ccc20ba30caef53b01bee2c0aaa5b855339
[4]: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=acafeb6056bec47d7211cf462a7c211a8c95cf42

Comment 1 Vasyl Kaigorodov 2014-11-11 11:25:19 UTC
Created mingw-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1162602]
Affects: epel-all [bug 1162606]

Comment 2 Vasyl Kaigorodov 2014-11-11 11:25:23 UTC
Created avr-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1162599]
Affects: epel-all [bug 1162604]

Comment 3 Vasyl Kaigorodov 2014-11-11 11:25:26 UTC
Created arm-none-eabi-binutils-cs tracking bugs for this issue:

Affects: fedora-all [bug 1162598]

Comment 4 Vasyl Kaigorodov 2014-11-11 11:25:29 UTC
Created msp430-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1162603]

Comment 5 Vasyl Kaigorodov 2014-11-11 11:25:32 UTC
Created cross-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1162601]
Affects: epel-all [bug 1162605]

Comment 6 Vasyl Kaigorodov 2014-11-11 11:25:35 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1162600]

Comment 9 Vasyl Kaigorodov 2014-11-26 14:52:39 UTC
Statement:

Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 11 Fedora Update System 2014-12-06 02:36:56 UTC
arm-none-eabi-binutils-cs-2014.05.28-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-12-06 02:40:28 UTC
avr-binutils-2.24-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-12-06 10:04:13 UTC
avr-binutils-2.24-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2014-12-06 10:08:59 UTC
arm-none-eabi-binutils-cs-2014.05.28-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2014-12-07 04:37:34 UTC
avr-binutils-2.24-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2014-12-07 04:39:22 UTC
arm-none-eabi-binutils-cs-2014.05.28-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Nick Clifton 2015-06-26 15:29:38 UTC
Created attachment 1043575 [details]
Amalgamted patch to fix all of the bugs referenced by PR 1712#c17

Comment 20 Nick Clifton 2015-06-26 15:31:59 UTC
Created attachment 1043578 [details]
Corrupt binary that (used to) crash objdump -x

Comment 21 Nick Clifton 2015-06-26 15:32:47 UTC
Created attachment 1043579 [details]
Second corrupt binary that (used to ) crash objdump -x

Comment 22 Nick Clifton 2015-06-26 15:33:23 UTC
Created attachment 1043580 [details]
Corrupt ELF binary that (used to) crash objdump -x

Comment 23 Nick Clifton 2015-06-26 15:36:22 UTC
I have uploaded a patch to fix this BZ, plus the three corrupt binary files (extracted from PR 17512) that used to trigger the bugs.

I am not sure what I should do next.  Can someone please advise ?

Cheers
  Nick

Comment 24 Jeff Law 2015-06-26 15:45:48 UTC
Nick, I'll walk you through the various process/procedural stuff Monday.  Well, I'll probably send you a howto over the weekend, which you can try Monday morning and if there's questions, we can cover them in IRC Monday.

Comment 25 errata-xmlrpc 2015-11-19 03:33:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2079 https://rhn.redhat.com/errata/RHSA-2015-2079.html


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