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

 

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

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


Vulnerability identifier: #VU32471
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-8503
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 ihex_scan function in bfd/ihex.c when processing a crafted ihex 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-8503

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