First published: Tue Jul 21 2020(Updated: )
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Mruby Mruby | <=2.1.1 | |
Mruby Mruby | =2.1.2-rc | |
Debian Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-15866 is a vulnerability in mruby that allows for a heap-based buffer overflow due to incorrect VM stack handling.
CVE-2020-15866 has a severity rating of 9.8, which is considered critical.
Versions up to and including 2.1.1 of mruby, as well as version 2.1.2-rc, are affected by CVE-2020-15866.
CVE-2020-15866 can be triggered via the stack_copy function in the mrb_yield_with_class function in vm.c.
Yes, a fix for CVE-2020-15866 is available. It is recommended to update to a patched version of mruby.