Bug 2033046 (CVE-2021-43814)

Summary: CVE-2021-43814 rizin: heap-based out-of-bounds write in parse_die() in librz/bin/dwarf.c when reversing an AMD64 ELF binary with DWARF debug info
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: rschirone91
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: 2021-12-15 19:26:06 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: 2033047    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-12-15 18:53:55 UTC
Rizin is a UNIX-like reverse engineering framework and command-line toolset. In versions up to and including 0.3.1 there is a heap-based out of bounds write in parse_die() when reversing an AMD64 ELF binary with DWARF debug info. When a malicious AMD64 ELF binary is opened by a victim user, Rizin may crash or execute unintended actions. No workaround are known and users are advised to upgrade.

References:
https://github.com/rizinorg/rizin/security/advisories/GHSA-hqqp-vjcm-mw8r
https://github.com/rizinorg/rizin/issues/2083

Upstream patch:
https://github.com/rizinorg/rizin/commit/aa6917772d2f32e5a7daab25a46c72df0b5ea406

Comment 1 Guilherme de Almeida Suckevicz 2021-12-15 18:54:07 UTC
Created rizin tracking bugs for this issue:

Affects: fedora-all [bug 2033047]

Comment 2 Product Security DevOps Team 2021-12-15 19:26:05 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.