Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rubocop
  4. ›
  5. CVE-2017-8418

CVE-2017-8418: Insecure use of /tmp

May 2, 2017 (updated October 3, 2019)

RuboCop does not use /tmp in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.

References

  • github.com/bbatsov/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7
  • github.com/bbatsov/rubocop/issues/4336
  • nvd.nist.gov/vuln/detail/CVE-2017-8418

Code Behaviors & Features

Detect and mitigate CVE-2017-8418 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.48.1

Fixed versions

  • 0.49.0

Solution

Upgrade to version 0.49.0 or above.

Impact 3.3 LOW

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

gem/rubocop/CVE-2017-8418.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:41 +0000.