Bug 2061536 (CVE-2022-0849)

Summary: CVE-2022-0849 radare2: use-after-free in r_reg_get_name_idx() in libr/reg/reg.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: henrik, rebus
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-08 00:19:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2061537, 2061538    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2022-03-07 19:16:59 UTC
Use-after-free in r_reg_get_name_idx() in GitHub repository radareorg/radare2 prior to 5.6.6.

Reference:
https://huntr.dev/bounties/29c5f76e-5f1f-43ab-a0c8-e31951e407b6

Upstream patch:
https://github.com/radareorg/radare2/commit/10517e3ff0e609697eb8cde60ec8dc999ee5ea24

Comment 1 Guilherme de Almeida Suckevicz 2022-03-07 19:17:18 UTC
Created radare2 tracking bugs for this issue:

Affects: epel-all [bug 2061538]
Affects: fedora-all [bug 2061537]

Comment 2 Product Security DevOps Team 2022-03-08 00:19:33 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.