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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-04-17T21:00:00

Updated: 2024-08-05T07:32:01.632Z

Reserved: 2018-04-17T00:00:00

Link: CVE-2018-10191

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2018-04-17T21:29:00.233

Modified: 2022-05-12T20:10:54.003

Link: CVE-2018-10191

cve-icon Redhat

No data.