3.3low
CVE-2017-8418
RuboCop gem Insecure use of /tmp
Also known as GHSA-wmjf-jpjj-9f3j
Published 9 y ago · modified 4 mo ago · JSON
CVSS
3.3
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 35%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
0.41% probability of exploitation in the next 30 days, higher than 35% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | rubocop | <0.49.0 | 0.49.0 |
Classification
- Weakness
- CWE-668 Exposure of Resource to Wrong Sphere
References
- openwall.com /lists/oss-security/2017/05/01/14 · x_refsource_MISC, x_transferred
- github.com /bbatsov/rubocop/issues/4336 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-8418 · advisory
- github.com /rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7 · web
- github.com /bbatsov/rubocop · package
- github.com /rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml · web
Sources
- CVE List: CVE-2017-8418
- GitHub Advisory: GHSA-wmjf-jpjj-9f3j
- NVD: CVE-2017-8418
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.