CVE-2018-10191

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
17/04/2018
Last modified:
12/05/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:* 1.4.0 (including)
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*