{"id":"GHSA-7m2w-9gw7-c3xp","summary":"open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution","details":"The open-uri-cached rubygem allows local users to execute arbitrary Ruby code by creating a directory under /tmp containing \"openuri-\" followed by a crafted UID, and putting Ruby code in said directory once a metafile is created.","aliases":["CVE-2015-3649"],"modified":"2024-02-20T05:32:37.867211Z","published":"2022-05-13T01:13:48Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-06-09T23:05:43Z","nvd_published_at":"2017-08-18T16:29:00Z","cwe_ids":["CWE-20"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3649"},{"type":"WEB","url":"https://github.com/tigris/open-uri-cached/issues/8"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/open-uri-cached/CVE-2015-3649.yml"},{"type":"PACKAGE","url":"https://github.com/tigris/open-uri-cached"},{"type":"WEB","url":"https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb"},{"type":"WEB","url":"https://web.archive.org/web/20210119122105/http://www.securityfocus.com/bid/74469"},{"type":"WEB","url":"http://seclists.org/oss-sec/2015/q2/373"},{"type":"WEB","url":"http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/06/2"}],"affected":[{"package":{"name":"open-uri-cached","ecosystem":"RubyGems","purl":"pkg:gem/open-uri-cached"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.0.1","0.0.3","0.0.4","0.0.5","1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7m2w-9gw7-c3xp/GHSA-7m2w-9gw7-c3xp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}