Out-of-bounds Read Affecting radareorg/radare2 package, versions [,3.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RADAREORGRADARE2-3003986
  • published26 Jan 2022
  • disclosed25 Dec 2018
  • creditUnknown

Introduced: 25 Dec 2018

CVE-2018-20459  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade radareorg/radare2 to version 3.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. In radare2 through 3.1.3, the armass_assemble function in libr/asm/arch/arm/armass.c allows attackers to cause a denial-of-service (application crash by out-of-bounds read) by crafting an arm assembly input because a loop uses an incorrect index in armass.c and certain length validation is missing in armass64.c, a related issue to CVE-2018-20457.

CVSS Scores

version 3.1