Bug 1202595 (CVE-2020-27795) - VUL-1: CVE-2020-27795: radare2: A segmentation fault with adf command
Summary: VUL-1: CVE-2020-27795: radare2: A segmentation fault with adf command
Status: RESOLVED FIXED
Alias: CVE-2020-27795
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/340354/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-22 07:02 UTC by Robert Frohl
Modified: 2022-08-22 07:03 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2022-08-22 07:02:54 UTC
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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27795
http://www.cvedetails.com/cve/CVE-2020-27795/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27795
https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22
https://github.com/radareorg/radare2/pull/16230
https://github.com/radareorg/radare2/issues/16215
Comment 1 Robert Frohl 2022-08-22 07:03:07 UTC
already fixed, closing