Vulnerability · Published Jul 21, 2020 · Assigned by mitre
CVE-2020-15866
Critical 9.8
In plain English
A critical-severity security flaw in the mruby package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.1%top 18.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mruby | 2.1.2-r0 | ALPINE-CVE-2020-15866 |
| Alpine:v3.21 | mruby | 2.1.2-r0 | ALPINE-CVE-2020-15866 |
| Alpine:v3.22 | mruby | 2.1.2-r0 | ALPINE-CVE-2020-15866 |
| Alpine:v3.23 | mruby | 2.1.2-r0 | ALPINE-CVE-2020-15866 |
| Alpine:v3.24 | mruby | 2.1.2-r0 | ALPINE-CVE-2020-15866 |
| Debian:12 | mruby | 2.1.2-1 | DEBIAN-CVE-2020-15866 |
| Debian:13 | mruby | 2.1.2-1 | DEBIAN-CVE-2020-15866 |
| Debian:14 | mruby | 2.1.2-1 | DEBIAN-CVE-2020-15866 |
| Ubuntu:22.04:LTS | mruby | no fix listed | UBUNTU-CVE-2020-15866 |
| Ubuntu:24.04:LTS | mruby | no fix listed | UBUNTU-CVE-2020-15866 |
| Ubuntu:25.10 | mruby | no fix listed | UBUNTU-CVE-2020-15866 |
| Ubuntu:26.04:LTS | mruby | no fix listed | UBUNTU-CVE-2020-15866 |
| Ubuntu:26.10 | mruby | no fix listed | UBUNTU-CVE-2020-15866 |
Affected products (as reported)
References
- https://github.com/mruby/mruby/issues/5042 x_refsource_MISC
- [debian-lts-announce] 20220506 [SECURITY] [DLA 2996-1] mruby security update mailing-list, x_refsource_MLIST