Bug 2120985 (CVE-2020-27795) - CVE-2020-27795 radare2: segmentation fault leads to a DoS
Summary: CVE-2020-27795 radare2: segmentation fault leads to a DoS
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-27795
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2120986 2120987
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-24 09:08 UTC by Marian Rehak
Modified: 2023-02-20 12:46 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-09-02 18:25:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-08-24 09:08:12 UTC
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).

Reference:

https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22
https://github.com/radareorg/radare2/pull/16230
https://github.com/radareorg/radare2/issues/16215

Comment 1 Marian Rehak 2022-08-24 09:08:27 UTC
Created radare2 tracking bugs for this issue:

Affects: epel-all [bug 2120987]
Affects: fedora-all [bug 2120986]

Comment 2 Product Security DevOps Team 2022-09-02 18:25:31 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.