Out-of-bounds read in radare2 - CVE-2018-14017

 

Out-of-bounds read in radare2 - CVE-2018-14017

Published: July 12, 2018 / Updated: January 25, 2021


Vulnerability identifier: #VU36912
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-14017
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Radare
Affected software:
radare2

Detailed vulnerability description

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

The vulnerability exists due to a boundary error in The r_bin_java_annotation_new function in shlr/java/class.c in radare2 2.7.0. A remote attacker can perform a denial of service (heap-based buffer over-read and application crash) via a crafted .class file because of missing input validation in r_bin_java_line_number_table_attr_new.


How to mitigate CVE-2018-14017

Install update from vendor's website.

Sources