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, 36.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Rizin
  • Rizin — versions affected rizin after version v0.2.1 until commit 1e0c34946dddf9b8e5e63933aefacf2b26d08103

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (ARPSyndicate/cvemon, ExpLangcn/FuYao-Go). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References