CVE-2020-15866: Buffer Overflow
Published Jul 21, 2020
·Updated
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrbyieldwithclass function in vm.c because of incorrect VM stack handling. It can be triggered via the stackcopy function.
Affected Software
3 affected components
mruby mruby<=2.1.1
mruby mruby=2.1.2-rc
Debian Debian Linux=9.0
Event History
Jul 21, 2020
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
Description
Frequently Asked Questions
1
What is CVE-2020-15866?
CVE-2020-15866 is a vulnerability in mruby that allows for a heap-based buffer overflow due to incorrect VM stack handling.
2
How severe is CVE-2020-15866?
CVE-2020-15866 has a severity rating of 9.8, which is considered critical.
3
What software versions are affected by CVE-2020-15866?
Versions up to and including 2.1.1 of mruby, as well as version 2.1.2-rc, are affected by CVE-2020-15866.
4
How can CVE-2020-15866 be triggered?
CVE-2020-15866 can be triggered via the stack_copy function in the mrb_yield_with_class function in vm.c.
5
Is there a fix for CVE-2020-15866?
Yes, a fix for CVE-2020-15866 is available. It is recommended to update to a patched version of mruby.