CVE-2017-8418
low
CVSS v3
3.3
CVSS v2
2.1
VIR risk
3.3
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.
Predictions
Exploit likelihood
34%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-8418
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0.49.1+dfsg-1 |
| debian | bullseye | fixed | 0.49.1+dfsg-1 |
| debian | forky | fixed | 0.49.1+dfsg-1 |
| debian | sid | fixed | 0.49.1+dfsg-1 |
| debian | trixie | fixed | 0.49.1+dfsg-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubocop_project | rubocop | {"endIncluding":"0.48.1"} | |
References
- https://github.com/bbatsov/rubocop/issues/4336
- http://www.openwall.com/lists/oss-security/2017/05/01/14
- https://nvd.nist.gov/vuln/detail/CVE-2017-8418
- https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7
- https://github.com/bbatsov/rubocop
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml
- https://security-tracker.debian.org/tracker/CVE-2017-8418
CWEs
CWE-668
Verify integrity in audit chain (admin only). AS-IS.