Stack-based buffer overflow in mruby - CVE-2020-6839

 

Stack-based buffer overflow in mruby - CVE-2020-6839

Published: January 13, 2020 / Updated: August 7, 2020


Vulnerability identifier: #VU24214
CSH Severity: High
CVSS v4.0: 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/E:P/U:Amber
CVE-ID: CVE-2020-6839
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mruby
Affected software:
mruby

Detailed vulnerability description

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

The vulnerability exists due to a boundary error in "mrb_str_len_to_dbl" in string.c. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

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


How to mitigate CVE-2020-6839

Install updates from vendor's website.

Sources