CVE-2018-1000079

rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations

Published Mar 13, 2018 CVSS 3.0 · 5.5 Medium EPSS 2.8% 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 gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1421-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-3218 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 gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.
Github GHSA Github GHSA GHSA-8qxg-mff5-j3wc RubyGems Path Traversal vulnerability
Ubuntu USN Ubuntu USN USN-3621-1 Ruby vulnerabilities
History

No history.

Weaknesses

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