Skip to content
OpenAdvisories
Unscored CVE-2020-15866 EUVD-2020-7847GHSA-4f9x-p86g-x88m

mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling…

Published Jul 21, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mruby 2.1.2-1 —
Debian 13 mruby 2.1.2-1 —
Debian 12 mruby 2.1.2-1 —
Debian 9 mruby 1.2.0+20161228+git30d5424a-1+deb9u1 DLA-2996-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mruby No fix yet —
Ubuntu 26.04 LTS mruby No fix yet —
Ubuntu 25.10 mruby No fix yet —
Ubuntu 24.04 LTS mruby No fix yet —
Ubuntu 22.04 LTS mruby No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mruby No fix yet —
Ubuntu 18.04 LTS mruby No fix yet —
Ubuntu 16.04 LTS mruby No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 mruby 2.1.2-r0 —
Alpine v3.23 mruby 2.1.2-r0 —
Alpine v3.22 mruby 2.1.2-r0 —
Alpine v3.21 mruby 2.1.2-r0 —
Alpine v3.20 mruby 2.1.2-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 mruby 2.1.2-r0 —
Alpine v3.18 mruby 2.1.2-r0 —
Alpine v3.17 mruby 2.1.2-r0 —
Alpine v3.16 mruby 2.1.2-r0 —
Alpine v3.15 mruby 2.1.2-r0 —
Alpine v3.14 mruby 2.1.2-r0 —
Alpine v3.13 mruby 2.1.2-r0 —

Advisories 1

References