GitHub Advisoryadvisory · RubyGems
GHSA-wmjf-jpjj-9f3j RuboCop gem Insecure use of /tmp
LOW
Official page ↗
- Aliases
- CVE-2017-8418
- Ecosystem
- RubyGems
- Packages
- rubocop
- Severity
- Low
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-668
- Reviewed
- 2020-06-16
Affected packages
• RubyGems rubocop: < 0.49.0 → fixed in 0.49.0
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.
Related
Alias · CVE (1)
- CVE-2017-8418 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… vulnerability
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-8418 advisory
- https://github.com/bbatsov/rubocop/issues/4336 web
- https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7 web
- https://github.com/bbatsov/rubocop package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml web
- http://www.openwall.com/lists/oss-security/2017/05/01/14 web