Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mruby | Mruby | <= 1.4.0 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626PatchThird Party Advisory
- https://github.com/mruby/mruby/issues/3995ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing ListThird Party Advisory
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626PatchThird Party Advisory
- https://github.com/mruby/mruby/issues/3995ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2018-10191?
CVE-2018-10191 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2018-10191?
CVE-2018-10191 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2018-10191?
Check the references section above for vendor advisories and patch information. Affected products include: Mruby Mruby, Debian Debian Linux.