Double Free in Rizin - CVE-2022-36043

 

Double Free in Rizin - CVE-2022-36043

Published: September 12, 2022


Vulnerability identifier: #VU67182
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-2022-36043
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the bobj.c:rz_bin_reloc_storage_free() function when freeing relocations generated from QNX binary plugin. A remote attacker can trick a victim to open a specially crafted file, trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Rizin
Gentoo Linux
Fedora
dev-util/rizin
rizin
cutter-re

How to mitigate CVE-2022-36043

Install updates from vendor's website.

Rizin - update to 0.4.1
dev-util/rizin - update to 0.4.1
rizin - addressed in versions 0.5.1-1.el8, 0.5.1-1.fc37, 0.5.1-1.fc38.2, 0.5.2-1.fc37
cutter-re - addressed in versions 2.2.0-1.el8, 2.2.0-1.fc37, 2.2.0-1.fc38, 2.2.1-1.fc37

External References

Related Security Bulletins