CVE-2018-10191
published 2018-04-17CVE-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…
PriorityP346critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.58%
83.4th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | mruby | < mruby 1.4.0+20180418+git54905e98-1 (bookworm) | mruby 1.4.0+20180418+git54905e98-1 (bookworm) |
| mruby | mruby | <= 1.4.0 | — |
| mruby | mruby | >= 0 < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| mruby | mruby | >= 0 < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| mruby | mruby | >= 0 < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| mruby | mruby | >= 0 < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-444w-xm89-r2p5: In versions of mruby up to and including 1
ghsa_unreviewed·2022-05-07
CVE-2018-10191 [CRITICAL] CWE-190 GHSA-444w-xm89-r2p5: In versions of mruby up to and including 1
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.
OSV
CVE-2018-10191: In versions of mruby up to and including 1
osv·2018-04-17·CVSS 9.8
CVE-2018-10191 [CRITICAL] CVE-2018-10191: In versions of mruby up to and including 1
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.
Debian
CVE-2018-10191: mruby - In versions of mruby up to and including 1.4.0, an integer overflow exists in sr...
vendor_debian·2018·CVSS 9.8
CVE-2018-10191 [CRITICAL] CVE-2018-10191: mruby - In versions of mruby up to and including 1.4.0, an integer overflow exists in sr...
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.
Scope: local
bookworm: resolved (fixed in 1.4.0+20180418+git54905e98-1)
bullseye: resolved (fixed in 1.4.0+20180418+git54905e98-1)
forky: resolved (fixed in 1.4.0+20180418+git54905e98-1)
sid: resolved (fixed in 1.4.0+20180418+git54905e98-1)
trixie: resolved (fixed in 1.4.0+20180418+git54905e98-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626https://github.com/mruby/mruby/issues/3995https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlhttps://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626https://github.com/mruby/mruby/issues/3995https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html
2018-04-17
Published