CVE-2018-14337

high

Description

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.

References

https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html

https://github.com/mruby/mruby/issues/4062

Details

Source: Mitre, NVD

Published: 2018-07-17

Updated: 2022-05-12

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

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

Severity: High