CVE-2017-8418
RuboCop 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
3.3
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.
- Record
CVE-2017-8418- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-668
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-8418- Updated
- 2026-11-02
EUVDEUVD-2017-0354 No score
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.
- Record
EUVD-2017-0354- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wmjf-jpjj-9f3j
3.3
RuboCop 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.
- Record
GHSA-wmjf-jpjj-9f3j- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-668
- Updated
- 2026-11-02
OSV
3.3
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.
- Record
CVE-2017-8418- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-8418
3.3
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.
- Record
DEBIAN-CVE-2017-8418- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-wmjf-jpjj-9f3j
3.3
RuboCop 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.
- Record
GHSA-wmjf-jpjj-9f3j- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-668
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-8418
3.3
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.
- Record
UBUNTU-CVE-2017-8418- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rubocopRubyGems |
before 0.49.0 | 0.49.0 |
rubocopDebian:12 |
before 0.49.1+dfsg-1 | 0.49.1+dfsg-1 |
rubocopDebian:13 |
before 0.49.1+dfsg-1 | 0.49.1+dfsg-1 |
rubocopDebian:14 |
before 0.49.1+dfsg-1 | 0.49.1+dfsg-1 |
rubocopRubyGems |
before 0.49.0, plus listed versions 0.0.00.1.00.10.00.11.00.11.1 Show 45 moreShow less0.12.00.13.00.13.10.14.00.14.10.15.00.16.00.17.00.18.00.18.10.19.00.19.10.2.00.2.10.20.00.20.10.21.00.22.00.23.00.24.00.24.10.25.00.26.00.26.10.27.00.27.10.28.00.29.00.29.10.3.00.3.10.3.20.30.00.30.10.31.00.32.00.32.10.33.00.34.00.34.10.34.20.35.00.35.10.36.00.37.0 |
0.49.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-8418 is a low vulnerability (CVSS 3.3) in Rubocop Project Rubocop, published May 2, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in rubocop 0.49.0.
References
openwall.com/lists/oss-security/2017/05/01/14
github.com/bbatsov/rubocop/issues/4336
nvd.nist.gov/vuln/detail/CVE-2017-8418
github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7
github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml
github.com/advisories/GHSA-wmjf-jpjj-9f3j
Left out here: 37 versions. The JSON record has them.