Integer overflow in Mruby
CVE-2018-10191
In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when handling OP_GETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute arbitrary code.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.026 (84.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 84.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: -0.000
Affected products
- Mruby
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/mruby/mruby/issues/3995 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/05/msg00006.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-10191?
- CVE-2018-10191 is a critical-severity vulnerability in Mruby, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2018-04-17.
- How severe is CVE-2018-10191?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-10191 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.