CVEvulnerability

CVE-2018-10191

9.8 CRITICAL Published 2018-04-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-04-17
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-190

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 configurations

• mruby mruby (<= 1.4.0) • debian debian linux 9.0

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References