Buffer overflow in Mruby
CVE-2020-15866
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.
Vulnerability class: Buffer Overflow
EPSS: 0.021 (79.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Mruby — versions 2.1.2
- Debian Debian_linux — versions 9.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-15866?
- CVE-2020-15866 is a critical-severity vulnerability in Mruby, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2020-07-21.
- How severe is CVE-2020-15866?
- Critical severity. CVSS v3 base score is 9.8 out of 10.