CVE-2018-14337
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.39% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- mruby/mruby · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/mruby/mruby/issues/4062Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing List, Third Party Advisory
- https://github.com/mruby/mruby/issues/4062Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.