Every CVE Search/ Get API key

CVE-2017-8418

RuboCop gem Insecure use of /tmp

3.3 LowFix available

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

0.41%Up 0.1 points since Apr 14, 2021
90%50%10%1%

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 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
2.1 LowAV: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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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

Affected packages
PackageAffectedFixed
rubocop
RubyGems
before 0.49.0
0.49.0
rubocop
Debian:12
before 0.49.1+dfsg-1
0.49.1+dfsg-1
rubocop
Debian:13
before 0.49.1+dfsg-1
0.49.1+dfsg-1
rubocop
Debian:14
before 0.49.1+dfsg-1
0.49.1+dfsg-1
rubocop
RubyGems
before 0.49.0, plus listed versions
0.0.00.1.00.10.00.11.00.11.1
Show 45 moreShow less
0.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

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE 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

Show 4 moreShow less
This page doesn't list everything

Left out here: 37 versions. The JSON record has them.

MoveEnter Open