{"id":"GHSA-wmjf-jpjj-9f3j","summary":"RuboCop gem Insecure use of /tmp","details":"RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.","aliases":["CVE-2017-8418"],"modified":"2024-02-16T08:14:31.038093Z","published":"2017-11-15T20:39:47Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2020-06-16T22:00:50Z","nvd_published_at":null,"cwe_ids":["CWE-668"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8418"},{"type":"WEB","url":"https://github.com/bbatsov/rubocop/issues/4336"},{"type":"WEB","url":"https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7"},{"type":"PACKAGE","url":"https://github.com/bbatsov/rubocop"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2017/05/01/14"}],"affected":[{"package":{"name":"rubocop","ecosystem":"RubyGems","purl":"pkg:gem/rubocop"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.49.0"}]}],"versions":["0.0.0","0.1.0","0.10.0","0.11.0","0.11.1","0.12.0","0.13.0","0.13.1","0.14.0","0.14.1","0.15.0","0.16.0","0.17.0","0.18.0","0.18.1","0.19.0","0.19.1","0.2.0","0.2.1","0.20.0","0.20.1","0.21.0","0.22.0","0.23.0","0.24.0","0.24.1","0.25.0","0.26.0","0.26.1","0.27.0","0.27.1","0.28.0","0.29.0","0.29.1","0.3.0","0.3.1","0.3.2","0.30.0","0.30.1","0.31.0","0.32.0","0.32.1","0.33.0","0.34.0","0.34.1","0.34.2","0.35.0","0.35.1","0.36.0","0.37.0","0.37.1","0.37.2","0.38.0","0.39.0","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.40.0","0.41.0","0.41.1","0.41.2","0.42.0","0.43.0","0.44.0","0.44.1","0.45.0","0.46.0","0.47.0","0.47.1","0.48.0","0.48.1","0.5.0","0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0","0.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-wmjf-jpjj-9f3j/GHSA-wmjf-jpjj-9f3j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}