Bug 2126123 (CVE-2022-36044)

Summary: CVE-2022-36044 rizin: Out-of-bounds Write in Lua binary plugin
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rebus, rschirone91
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rizin 0.4.1 Doc Type: ---
Doc Text:
An out-of-bounds write vulnerability was discovered in rizin when getting data from Luac files. A user opening a malicious Luac file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-25 13:54:12 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: 2126128, 2126131    
Bug Blocks: 2124771    

Description TEJ RATHI 2022-09-12 14:02:42 UTC
Rizin versions 0.4.0 and prior are vulnerable to an out-of-bounds write when getting data from Luac files. A user opening a malicious Luac file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. 

https://github.com/rizinorg/rizin/security/advisories/GHSA-mqcj-82c6-gh5q
https://github.com/rizinorg/rizin/commit/07b43bc8aa1ffebd9b68d60624c9610cf7e460c7
https://github.com/rizinorg/rizin/commit/05bbd147caccc60162d6fba9baaaf24befa281cd

Comment 1 TEJ RATHI 2022-09-12 14:03:07 UTC
Created rizin tracking bugs for this issue:

Affects: epel-all [bug 2126128]
Affects: fedora-all [bug 2126131]

Comment 2 Product Security DevOps Team 2022-11-25 13:54:10 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.