CVE-2020-27795

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).
References
Link Resource
https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22 Patch Third Party Advisory
https://github.com/radareorg/radare2/issues/16215 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/radareorg/radare2/pull/16230 Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*

History

22 Aug 2022, 17:26

Type Values Removed Values Added
CPE cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*
CWE CWE-908
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References (MISC) https://github.com/radareorg/radare2/pull/16230 - (MISC) https://github.com/radareorg/radare2/pull/16230 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/radareorg/radare2/issues/16215 - (MISC) https://github.com/radareorg/radare2/issues/16215 - Exploit, Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22 - (MISC) https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22 - Patch, Third Party Advisory

19 Aug 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-19 23:15

Updated : 2024-02-04 22:51


NVD link : CVE-2020-27795

Mitre link : CVE-2020-27795

CVE.ORG link : CVE-2020-27795


JSON object : View

Products Affected

radare

  • radare2
CWE
CWE-908

Use of Uninitialized Resource