Stack-based buffer overflow in Binutils - CVE-2014-8504

 

Stack-based buffer overflow in Binutils - CVE-2014-8504

Published: December 10, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32472
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-8504
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Binutils
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

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

binutils (Alpine package) - update to 2.24-r3
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

Related Security Bulletins