Use of Uninitialized Resource Affecting radare2 package, versions <5.0.0+dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.18% (57th 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-DEBIANUNSTABLE-RADARE2-2988692
  • published21 Aug 2022
  • disclosed19 Aug 2022

Introduced: 19 Aug 2022

CVE-2020-27795  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade Debian:unstable radare2 to version 5.0.0+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream radare2 package and not the radare2 package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

A segmentation fault was discovered in radare2 with adf command. In libr/core/cmd_anal.c, when command "adf" has no or wrong argument, anal_fcn_data (core, input + 1) --> RAnalFunction *fcn = r_anal_get_fcn_in (core->anal, core->offset, -1); returns null pointer for fcn causing segmentation fault later in ensure_fcn_range (fcn).

CVSS Scores

version 3.1