CVE-2018-10191

NameCVE-2018-10191
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2996-1
Debian Bugs896020

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mruby (PTS)bullseye2.1.2-3fixed
bookworm3.1.0-3fixed
sid, trixie3.3.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mrubysourcestretch1.2.0+20161228+git30d5424a-1+deb9u1DLA-2996-1
mrubysource(unstable)1.4.0+20180418+git54905e98-1896020

Notes

[jessie] - mruby <no-dsa> (Minor issue)
https://github.com/mruby/mruby/issues/3995
https://github.com/mruby/mruby/commit/1905091634a6a2925c911484434448e568330626

Search for package or bug name: Reporting problems