NULL pointer dereference in Binutils - CVE-2017-8395

 

NULL pointer dereference in Binutils - CVE-2017-8395

Published: May 1, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39087
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-8395
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid write of size 8 because of missing a malloc() return-value check to see if memory had actually been allocated in the _bfd_generic_get_section_contents function. This vulnerability causes programs that conduct an analysis of binary programs using the libbfd library, such as objcopy, to crash.


Affected software

Binutils
Gentoo Linux

How to mitigate CVE-2017-8395

Install update from vendor's website.


External References

Related Security Bulletins