Vulnerability · Published Aug 19, 2022 · Assigned by redhat
CVE-2020-27795
High 7.5
In plain English
A high-severity security flaw in radare2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.6%top 24.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | radare2 | 4.4.0-r0 | ALPINE-CVE-2020-27795 |
| Alpine:v3.21 | radare2 | 4.4.0-r0 | ALPINE-CVE-2020-27795 |
| Alpine:v3.22 | radare2 | 4.4.0-r0 | ALPINE-CVE-2020-27795 |
| Alpine:v3.23 | radare2 | 4.4.0-r0 | ALPINE-CVE-2020-27795 |
| Alpine:v3.24 | radare2 | 4.4.0-r0 | ALPINE-CVE-2020-27795 |
Affected products (as reported)
Weakness: CWE-908
References
- https://github.com/radareorg/radare2/issues/16215 x_refsource_MISC
- https://github.com/radareorg/radare2/pull/16230 x_refsource_MISC
- https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22 x_refsource_MISC