CVE-2018-10199 In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to exe...
CriticalCVSS 9.8
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mruby(Debian:12) | < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| debian/mruby(Debian:13) | < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| debian/mruby(Debian:14) | < 1.4.0+20180418+git54905e98-1 | 1.4.0+20180418+git54905e98-1 |
| mruby | <= 1.4.0 | No fix listed |
| ubuntu/mruby(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:22.04) | All versions | No fix listed |
References
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2018-10199 vendor-advisory
- github.com patch
- github.com third-party-advisory
- bugs.debian.org issue-tracking