{"id":"CVE-2018-1000201","aliases":["EUVD-2018-0350","GHSA-2gw2-8q9w-cw8p"],"status":"published","title":"Ruby-ffi has a DLL loading issue","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0133,"percentile":0.71247,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-426"],"published":"2018-06-22T18:00:00Z","modified":"2026-10-20T10:49:39Z","fixes":[{"ecosystem":"RubyGems","package":"ffi","fixed_in":["1.9.24"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"ffi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.24"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"ffi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.24"}]}],"versions":["0.1.0","0.1.1","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.5.0","0.5.1","0.5.3","0.5.4","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","1.0.0","1.0.1","1.0.10","1.0.11","1.0.12.pre","1.0.12.rc1","1.0.12.rc2","1.0.12.rc3","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.9","1.1.0","1.1.0.rc1","1.1.0.rc2","1.1.0.rc3","1.1.0.rc4","1.1.1","1.1.1.rc1","1.1.1.rc2","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6.pre1","1.1.6.pre2","1.2.0","1.2.0.dev","1.2.0.dev2","1.2.0.dev3","1.2.0.dev4","1.2.0.pre1","1.2.0.pre2","1.2.0.pre3","1.2.0.pre4","1.2.0.pre5","1.2.0.pre6","1.2.1","1.3.0","1.3.1","1.4.0","1.4.1.dev","1.5.0","1.5.0.pre1","1.6.0","1.7.0","1.7.0.dev","1.8.1","1.9.0","1.9.10","1.9.11","1.9.12","1.9.13","1.9.14","1.9.15","1.9.16","1.9.17","1.9.18","1.9.21","1.9.22","1.9.23","1.9.23.pre1","1.9.3","1.9.5","1.9.6","1.9.8","1.9.9"]}],"products":[{"vendor":"ruby-ffi_project","product":"ruby-ffi"}],"references":[{"url":"https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000201","tags":["advisory"]},{"url":"https://github.com/ffi/ffi/releases/tag/1.9.24","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ffi/CVE-2018-1000201.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2gw2-8q9w-cw8p"},{"url":"https://github.com/ffi/ffi","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-1000201","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-06-22T18:00:00Z","modified":"2024-08-05T12:40:46.796Z","updated_at":"2026-11-02T14:35:10.685174Z"}],"euvd":[{"id":"EUVD-2018-0350","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-06-22T18:00:00Z","modified":"2024-08-05T12:40:46Z","updated_at":"2026-11-03T02:39:26.824954Z"}],"ghsa":[{"id":"GHSA-2gw2-8q9w-cw8p","title":"Ruby-ffi has a DLL loading issue ","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-08-31T14:55:43Z","modified":"2023-07-31T21:13:26Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:36:58.760727Z"}],"nvd":[{"id":"CVE-2018-1000201","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-06-22T18:29:00.217Z","modified":"2026-06-17T01:32:40.15Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:04:30.900603Z"}],"osv":[{"id":"CVE-2018-1000201","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-06-22T18:29:00.217Z","modified":"2026-10-20T10:49:39.183801877Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.192756Z"},{"id":"GHSA-2gw2-8q9w-cw8p","title":"Ruby-ffi has a DLL loading issue ","description":"ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.","status":"published","published":"2018-08-31T14:55:43Z","modified":"2024-02-16T08:15:21.317366Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:46:34.338541Z"}]}}
