Double Free in mruby - CVE-2020-36401

 

Double Free in mruby - CVE-2020-36401

Published: July 5, 2021


Vulnerability identifier: #VU54556
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-36401
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 within the mrb_default_allocf function in mruby. A remote attacker can pass specially crafted data to the application, 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

mruby
Arch Linux

How to mitigate CVE-2020-36401

Install updates from vendor's website.

mruby - update to 3.0.0

External References

Related Security Bulletins