Bug 2181965 (CVE-2021-3674) - CVE-2021-3674 rizin: oob reads to code execution
Summary: CVE-2021-3674 rizin: oob reads to code execution
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-3674
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2181966 2181967
Blocks: 2181815
TreeView+ depends on / blocked
 
Reported: 2023-03-27 05:52 UTC by Sandipan Roy
Modified: 2023-03-27 10:05 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-27 10:05:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2023-03-27 05:52:34 UTC
A flaw was found in rizin. The create_section_from_phdr function allocates space for ELF section data by processing the headers. Crafted values in the headers can cause out of bounds reads, which can lead to memory corruption and possibly code execution through the binary object's callback function.

https://gist.github.com/netspooky/61101e191afee95feda7dbd2f6b061c4
https://github.com/rizinorg/rizin/pull/1313

Comment 1 Sandipan Roy 2023-03-27 05:52:56 UTC
Created rizin tracking bugs for this issue:

Affects: epel-8 [bug 2181966]
Affects: fedora-all [bug 2181967]

Comment 2 Product Security DevOps Team 2023-03-27 10:05:39 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.


Note You need to log in before you can comment on or make changes to this bug.