CVE-2018-10191
Last modified
CVE-2018-10191 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.58% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mruby | Mruby | <= 1.4.0 |
| Debian | Debian Linux | 9.0 |
References
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626Patch, Third Party Advisory
- https://github.com/mruby/mruby/issues/3995Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing List, Third Party Advisory
- https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626Patch, Third Party Advisory
- https://github.com/mruby/mruby/issues/3995Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-10191?
How severe is CVE-2018-10191?
How do I fix CVE-2018-10191?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-10186In radare2 2.5.0, there is a heap-based buffer over-read in …
- CVE-2018-10187In radare2 2.5.0, there is a heap-based buffer over-read in …
- CVE-2018-10188phpMyAdmin 4.8.0 before 4.8.0-1 has CSRF, allowing an attack…
- CVE-2018-10189An issue was discovered in Mautic 1.x and 2.x before 2.13.0.…
- CVE-2018-1019A remote code execution vulnerability exists in the way that…
- CVE-2018-10190A vulnerability in London Trust Media Private Internet Acces…
- CVE-2018-10192IPVanish 3.0.11 for macOS suffers from a root privilege esca…
- CVE-2018-10193LogMeIn LastPass through 4.15.0 allows remote attackers to c…
- CVE-2018-10194The set_text_distance function in devices/vector/gdevpdts.c …
- CVE-2018-10195lrzsz before version 0.12.21~rc can leak information to the …7.1
- CVE-2018-10196NULL pointer dereference vulnerability in the rebuild_vlists…
- CVE-2018-10197There is a time-based blind SQL injection vulnerability in t…
Are you affected by CVE-2018-10191?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
