CVE-2018-1000073

rubygems: Path traversal when writing to a symlinked basedir outside of the root

Published Mar 13, 2018 CVSS 3.0 · 7.5 High EPSS 4.9% KEV · Not listed
Description
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 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 of the root. This vulnerability appears to have been fixed in 2.7.6.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1480-1 ruby2.1 security update
Debian DSA Debian DSA DSA-4219-1 jruby security update
Debian DSA Debian DSA DSA-4259-1 ruby2.3 security update
EUVD EUVD EUVD-2022-4029 RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 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 of the root. This vulnerability appears to have been fixed in 2.7.6.
Github GHSA Github GHSA GHSA-gx69-6cp4-hxrj RubyGems Link Following vulnerability
Ubuntu USN Ubuntu USN USN-3621-1 Ruby vulnerabilities
History

No history.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 12:33 PM
Reserved
Feb 21, 2018, 12:00 AM
Status
Modified
Published
Mar 13, 2018, 3:29 PM
Modified
Jun 17, 2026, 1:32 AM
Severity
Moderate
Public date
Feb 15, 2018, 12:00 AM