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, 85.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mruby
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (gejingquan/OptRCA, gejingquan/RCA-Instruction, nautilus-fuzz/nautilus). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/mruby/mruby/issues/3995 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626 (Patch, Third Party Advisory)
- [debian-lts-announce] 20220506 [SECURITY] [DLA 2996-1] mruby security update (mailing-list, Mailing List, Third Party Advisory)