Buffer overflow in Rizin
CVE-2021-3674
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (33.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Rizin
- Rizin — versions affected rizin after version v0.2.1 until commit 1e0c34946dddf9b8e5e63933aefacf2b26d08103
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rizinorg/rizin/pull/1313 (Exploit, Patch, Vendor Advisory)
- gist.github.com/netspooky/61101e191afee95feda7dbd2f6b061c4 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-3674?
- CVE-2021-3674 is a high-severity vulnerability in Rizin, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2023-03-24.
- How severe is CVE-2021-3674?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-3674 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.