Directory traversal vulnerability allowing random files deleteion/creation was reported [1] in binutils. Upstream patch is in [2]. Reproducer is available in https://sourceware.org/bugzilla/show_bug.cgi?id=17552#c0 [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17552 [2]: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd9b91de2149ee81d47f708e7b0bbf57da10ad42
Created mingw-binutils tracking bugs for this issue: Affects: fedora-all [bug 1162660] Affects: epel-all [bug 1162665]
Created avr-binutils tracking bugs for this issue: Affects: fedora-all [bug 1162657] Affects: epel-all [bug 1162662]
Created arm-none-eabi-binutils-cs tracking bugs for this issue: Affects: fedora-all [bug 1162656]
Created msp430-binutils tracking bugs for this issue: Affects: fedora-all [bug 1162661]
Created cross-binutils tracking bugs for this issue: Affects: fedora-all [bug 1162659] Affects: epel-all [bug 1162664]
Created binutils tracking bugs for this issue: Affects: fedora-all [bug 1162658]
Created attachment 956421 [details] Proposed patch Hi Jeff, Hi Patsy, I have uploaded a specially crafted patch that combines both of the fixes for PR 17552, built against the RHEL 7.1 sources. I hope that this helps. Cheers Nick
Thanks Nick. I'm watching this very closely as we have a small window where we can fix this for RHEL 7.1. However, right now, this stuff is not slated for 7.1 by nature of no RHEL BZs from the security team, which is probably an artifact of these being marked as med/med or lower from an security standpoint. My preference is to fix this and the controlled write in the BFD ELF code for RHEL 7.1 and RHEL 6.7. I do _not_ want to issue z-streams for these issues if we can avoid it.
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 Moderate 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/.
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.
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.
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.
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.
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.
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.
binutils-2.24-30.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Reproducer is available in https://sourceware.org/bugzilla/show_bug.cgi?id=17552#c0
Created attachment 1083729 [details] Remove resource leak from binutils-th1162655.patch Note - the patch for this BZ inadvertently introduced a resource leak into the binutils sources. This leak is detected by the covscan tool. What can happen is that a buffer of 8192 bytes is allocated but not freed. This only happens when an illegal archive is being processed, and in this case the program will exit very shortly afterwards. So the resource will not prevent the proper functioning of the program on valid archives, and it will not prevent the program from reporting and exiting (cleanly) on invalid archives. Since this problem has been detected so late in the 7.2 release process, a fix for it is being delayed until 7.3. The update to fix the patch is uploaded here. Cheers Nick
Makes sense to me.
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