Name | CVE-2018-10191 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2996-1 |
Debian Bugs | 896020 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
mruby (PTS) | jessie | 1.0.0+20141015+gitb4cc962c-1 | vulnerable |
stretch (security), stretch (lts), stretch | 1.2.0+20161228+git30d5424a-1+deb9u1 | fixed | |
buster | 2.0.0-1 | fixed | |
bullseye | 2.1.2-3 | fixed | |
bookworm | 3.1.0-3 | fixed | |
sid, trixie | 3.3.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
mruby | source | stretch | 1.2.0+20161228+git30d5424a-1+deb9u1 | DLA-2996-1 | ||
mruby | source | (unstable) | 1.4.0+20180418+git54905e98-1 | 896020 |
[jessie] - mruby <no-dsa> (Minor issue)
https://github.com/mruby/mruby/issues/3995
https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626