#VU79757 Use-after-free in radare2 - CVE-2021-32495


Vulnerability identifier: #VU79757

Vulnerability risk: High

CVSSv4.0: 6.1 [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/E:U/U:Amber]

CVE-ID: CVE-2021-32495

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
radare2
Universal components / Libraries / Software for developers

Vendor: Radare

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the get_none_object() function in pyc parser. A remote attacker can pass specially crafted input to the application and execute arbitrary code.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

radare2: 4.0.0 - 5.2.1


External links
https://github.com/radareorg/radare2/commit/5e16e2d1c9fe245e4c17005d779fde91ec0b9c05
https://github.com/radareorg/radare2/issues/18666


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability