Use-after-free in Rizin - CVE-2021-4022

 

Use-after-free in Rizin - CVE-2021-4022

Published: April 5, 2022


Vulnerability identifier: #VU61878
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-4022
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing files in the rz_core_analysis_type_match. A remote attacker can trick the victim to open a specially crafted file, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Rizin
Arch Linux

How to mitigate CVE-2021-4022

Install updates from vendor's website.

Rizin - update to 0.3.2

External References

Related Security Bulletins