In versions of mruby up to and including 1.4.0, an...
Critical severity
Unreviewed
Published
May 7, 2022
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Apr 17, 2018
Published to the GitHub Advisory Database
May 7, 2022
Last updated
Feb 1, 2023
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.
References