CVE-2017-8418
LOW 3.3CVSS 3.0RuboCop gem Insecure use of /tmp
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
- 2 May 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-668
- Also known as
- GHSA-wmjf-jpjj-9f3j
- Sources
- NVDJSONOSV GHSA-wmjf-jpjj-9f3jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | LOW 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | LOW 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubocop_project | rubocopcpe:2.3:a:rubocop_project:rubocop:*:*:*:*:*:*:*:* |
<= 0.48.1 | |
| OSV | RubyGems | rubocop | < 0.49.0 | 0.49.0 |
References
- http://www.openwall.com/lists/oss-security/2017/05/01/14 · Exploit, Mailing List, Third Party Advisory, WEB
- https://github.com/bbatsov/rubocop/issues/4336 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-8418 · ADVISORY
- https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7 · WEB
- https://github.com/bbatsov/rubocop · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 2 May 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Nov 2017)