Bug 2246906

Summary: CVE-2023-46570 radare2: out-of-bounds read in radare2 [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Avinash Hanwate <ahanwate>
Component: radare2Assignee: Henrik Nordström <henrik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel8CC: carl, henrik, rebus
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-01 04:22:20 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:    
Bug Blocks: 2246903    

Description Avinash Hanwate 2023-10-30 04:03:29 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2246903

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Avinash Hanwate 2023-10-30 04:03:31 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=high

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2246903,2246906

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Carl George 🤠 2023-11-01 04:22:20 UTC
I looked into this, and it does not appear that any EPEL packages are affected by this.  The NVD page for this CVE [0] says that it affects version 5.8.9 and earlier, however it also says that the vulnerability is in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h.  That function and that file don't exist in version 5.8.8, which is the version currently shipped in all EPEL branches.  It appears that the vulnerable code was both introduced [1] and fixed [2] in the master branch before a 5.8.9 tag ever happened.

[0] https://nvd.nist.gov/vuln/detail/CVE-2023-46570
[1] https://github.com/radareorg/radare2/commit/4a63dd4c236ad082d6d0f252968537a120e15e59
[2] https://github.com/radareorg/radare2/commit/3e406459f163eba7672b3421c8a84b2c0e4ac0f8