{"id":"CVE-2018-10199","state":"PUBLISHED","title":"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 poss","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.","publishedAt":"2018-04-18T15:00:00.000Z","updatedAt":"2024-09-16T21:58:11.054Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433","https://github.com/mruby/mruby/issues/4001"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:10.244Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/10xxx/CVE-2018-10199.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-10199","state":"PUBLISHED","datePublished":"2018-04-18T15:00:00.000Z","dateUpdated":"2024-09-16T21:58:11.054Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-04-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mruby/mruby/issues/4001","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-04-18T15:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-10199","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433","refsource":"CONFIRM","url":"https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433"},{"name":"https://github.com/mruby/mruby/issues/4001","refsource":"CONFIRM","url":"https://github.com/mruby/mruby/issues/4001"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/mruby/mruby/commit/b51b21fc63c9805862322551387d9036f2b63433","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/mruby/mruby/issues/4001","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T07:32:01.617Z"}}]}}}