Integer overflow in mruby - CVE-2018-14337

 

Integer overflow in mruby - CVE-2018-14337

Published: July 17, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU36897
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-14337
CWE-ID: CWE-190
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 compromise vulnerable system.

The vulnerability exists in mrbgems/mruby-sprintf/src/sprintf.c within the CHECK macro. A remote attacker can trigger integer overflow due to the mrb_str_resize function in string.c does not check for a negative length.


How to mitigate CVE-2018-14337

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources