First published: Tue Apr 17 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Mruby Mruby | <=1.4.0 | |
Debian Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-10191 is a vulnerability in the mruby software, versions up to and including 1.4.0, that allows an attacker to execute arbitrary code through a use-after-free issue caused by an integer overflow.
CVE-2018-10191 has a severity rating of 9.8 out of 10, indicating a critical vulnerability.
Versions up to and including 1.4.0 of mruby and Debian Linux 9.0 are affected by CVE-2018-10191.
An attacker who can execute Ruby code can exploit CVE-2018-10191 by causing an integer overflow in the handling of OP_GETUPVAR, leading to a use-after-free vulnerability and potentially allowing execution of arbitrary code.
Yes, you can find references for CVE-2018-10191 in the following links: [link1], [link2], [link3].