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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.021, 82.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mruby — versions 2.1.2
- Debian Linux — versions 9.0
Weakness classification (CWE)
References
- github.com/mruby/mruby/issues/5042 (Exploit, Third Party Advisory)
- [debian-lts-announce] 20220506 [SECURITY] [DLA 2996-1] mruby security update (mailing-list, Mailing List, Third Party Advisory)