Signed Integer Overflow in CHECK Macro in mruby 1.4.1

Signed Integer Overflow in CHECK Macro in mruby 1.4.1

CVE-2018-14337 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.

Learn more about our Web Application Penetration Testing UK.