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.
References (2)
Core 2
Core References
Patch x_refsource_confirm
https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433
Third Party Advisory x_refsource_confirm
https://github.com/mruby/mruby/issues/4001
Scores
CVSS v3
9.8
EPSS
0.0144
EPSS Percentile
80.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (1)
mruby/mruby
< 1.4.0
Published
Apr 18, 2018
Tracked Since
Feb 18, 2026