{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-8418","id":"CVE-2017-8418","title":"RuboCop gem Insecure use of /tmp","description":"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.","descriptionLong":"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.","published":"2017-05-02T14:00:00.000Z","updated":"2026-10-20T10:50:15.198113550Z","reserved":"2017-05-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},"metrics":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"low","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rubocop","purl":"pkg:gem/rubocop","ranges":["<0.49.0"],"fixed":["0.49.0"],"advisory":"GHSA-wmjf-jpjj-9f3j"}],"cwes":["CWE-668"],"aliases":["GHSA-wmjf-jpjj-9f3j"],"references":[{"url":"http://www.openwall.com/lists/oss-security/2017/05/01/14","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","web"]},{"url":"https://github.com/bbatsov/rubocop/issues/4336","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8418","tags":["advisory"]},{"url":"https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7","tags":["web"]},{"url":"https://github.com/bbatsov/rubocop","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00409,"epssPercentile":0.35837,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-8418","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8418","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-8418","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wmjf-jpjj-9f3j","ok":true,"note":"GHSA-wmjf-jpjj-9f3j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-8418","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}