Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rubygems-update
  4. ›
  5. CVE-2018-1000073

CVE-2018-1000073: Path Traversal

March 13, 2018 (updated November 30, 2018)

RubyGems contains a Directory Traversal vulnerability in install_location function of package.rb that can result in path traversal when writing to a symlinked basedir outside the root.

References

  • blog.rubygems.org/2018/02/15/2.7.6-released.html
  • nvd.nist.gov/vuln/detail/CVE-2018-1000073

Code Behaviors & Features

Detect and mitigate CVE-2018-1000073 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions after 2.2.9 up to 2.5.0

Fixed versions

  • 2.5.1

Solution

Upgrade to version 2.5.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

gem/rubygems-update/CVE-2018-1000073.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:03 +0000.