CVE-2018-14337Integer Overflow or Wraparound in Mruby

Severity
7.5HIGHNVD
EPSS
0.4%
top 41.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 17
Latest updateMay 7

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

debiandebian/mruby< mruby 2.0.0-1 (bookworm)
Debianmruby/mruby< 2.0.0-1+3
NVDmruby/mruby1.4.1

Also affects: Debian Linux 9.0

🔴Vulnerability Details

2
GHSA
GHSA-hrqc-789v-hchf: The CHECK macro in mrbgems/mruby-sprintf/src/sprintf2022-05-07
OSV
CVE-2018-14337: The CHECK macro in mrbgems/mruby-sprintf/src/sprintf2018-07-17

📋Vendor Advisories

1
Debian
CVE-2018-14337: mruby - The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a...2018