Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2126121 (CVE-2022-36041)

Summary: CVE-2022-36041 rizin: Out-of-bounds Write in Mach-O 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 issue was discovered in rizin when parsing Mach-O files. A user opening a malicious Mach-O 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 12:54:49 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: 2126125, 2126129    
Bug Blocks:    

Description TEJ RATHI 2022-09-12 14:02:30 UTC
Rizin versions 0.4.0 and prior are vulnerable to an out-of-bounds write when parsing Mach-O files. A user opening a malicious Mach-O 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-2c7m-2f37-mr5m
https://github.com/rizinorg/rizin/issues/2956
https://github.com/rizinorg/rizin/commit/348b1447d1452f978b69631d6de5b08dd3bdf79d

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

Affects: epel-all [bug 2126125]
Affects: fedora-all [bug 2126129]

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