VDB
CVE-2017-8418
CVE-2017-8418
PUBLISHED
CVSS 3.299999952316284 LOW
RuboCop gem Insecure use of /tmp
Reported by mitre · Published May 2, 2017
rubocop is fixed in 0.48.1 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubocop | RubyGems | 0.48.1 |
| rubocop | rubocop_project | 0.48.1 |
Risk scores
CVSS 3.0
3.299999952316284
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | rubocop | 0 |
Timeline
- May 2, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 28, 2023 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-8418
vulnetix vdb fixes CVE-2017-8418
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-8418/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2017-8418 advisory
- https://github.com/bbatsov/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7 patch