Integer overflow in Mruby
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.014 (71.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Mruby — versions 1.4.1
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/mruby/mruby/issues/4062 (Exploit, Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2022/05/msg00006.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-14337?
- CVE-2018-14337 is a high-severity vulnerability in Mruby, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2018-07-17.
- How severe is CVE-2018-14337?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-14337 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.