#VU36897 Integer overflow in mruby


Published: 2018-07-17 | Updated: 2020-08-08

Vulnerability identifier: #VU36897

Vulnerability risk: Medium

CVSSv3.1: 6.9 [AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:U/RC:C]

CVE-ID: CVE-2018-14337

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
mruby
Universal components / Libraries / Scripting languages

Vendor: mruby

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.

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

Vulnerable software versions

mruby: 1.4.1


External links
http://github.com/mruby/mruby/issues/4062


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