NULL pointer dereference in Binutils - CVE-2017-7225

 

NULL pointer dereference in Binutils - CVE-2017-7225

Published: March 22, 2017 / Updated: February 10, 2022


Vulnerability identifier: #VU39408
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2017-7225
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Binutils

Detailed vulnerability description

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

The vulnerability exists due to a NULL pointer dereference error in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program crash. A remote attacker can perform a denial of service (DoS) attack.


How to mitigate CVE-2017-7225

Install update from vendor's website.

Sources