Stack-based buffer overflow in Binutils - CVE-2014-8504
Published: December 10, 2014 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the srec_scan function in bfd/srec.c when processing a crafted file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Gentoo Linux
Fedora
binutils (Alpine package)
avr-binutils
mingw-binutils
cross-binutils
cross-gcc
arm-none-eabi-binutils-cs
How to mitigate CVE-2014-8504
avr-binutils - update to 2.24-4.fc21
mingw-binutils - addressed in versions 2.25-1.el7, 2.25-1.fc21
cross-binutils - update to 2.27-9.el7.1
cross-gcc - update to 4.8.5-16.el7.1
arm-none-eabi-binutils-cs - update to 2014.05.28-3.fc21
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145262.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145328.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145742.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/147346.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/147354.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148427.html
- http://secunia.com/advisories/62241
- http://secunia.com/advisories/62746
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:029
- http://www.openwall.com/lists/oss-security/2014/10/27/4
- http://www.openwall.com/lists/oss-security/2014/10/27/5
- http://www.openwall.com/lists/oss-security/2014/10/31/1
- http://www.securityfocus.com/bid/70761
- http://www.ubuntu.com/usn/USN-2496-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1162621
- https://security.gentoo.org/glsa/201612-24
- https://sourceware.org/bugzilla/show_bug.cgi?id=17510
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=708d7d0d11f0f2d776171979aa3479e8e12a38a0
Related Security Bulletins
- Stack-based buffer overflow in GNU Binutils
- Stack-based buffer overflow in binutils (Alpine package)
- Amazon Linux AMI update for binutils
- Gentoo update for Binutils
- Fedora 21 update for avr-binutils
- Fedora 21 update for arm-none-eabi-binutils-cs
- Fedora EPEL 7 update for mingw-binutils
- Fedora 21 update for mingw-binutils
- Fedora EPEL 7 update for cross-binutils, cross-gcc