CVE-2018-10191
In versions of mruby up to and including 1.4.0, an integer overflow ex ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | mruby | 1.4.0+20180418+git54905e98-1 |
| debian 12 | mruby | 1.4.0+20180418+git54905e98-1 |
| debian 13 | mruby | 1.4.0+20180418+git54905e98-1 |
| debian 14 | mruby | 1.4.0+20180418+git54905e98-1 |
| debian 8 | mruby | no fix listed |
| debian 9 | mruby | 1.2.0+20161228+git30d5424a-1+deb9u1 |
| echo | mruby | 1.4.0+20180418+git54905e98-1 |