CVE-2018-1000079: rubygems Path Traversal
Vulnerability summary
CVE-2018-1000079 is a medium (CVSS 5.5) Path Traversal vulnerability in rubygems. EPSS estimates a 2.78% chance of exploitation in the next 30 days, higher than 86.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 16 · Related 4Timeline
- 13-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · MavenEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · RubygemsEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
2.78%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.78% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu3 products
- jrubyAll versions (No fix recorded)
- ruby2.0< 2.0.0.484-1ubuntu2.6
- ruby2.3< 2.3.1-2~16.04.7
Debian2 products
- jruby< 9.1.17.0-1
- rubygems< 3.2.0~rc.1-1
RubyGems2 products
- rubygems-update< 2.7.6
- rubygems≤ 2.2.9 | ≤ 2.3.6 | ≤ 2.4.3 | ≤ 2.5.0
Org.jruby1 product
- jruby-stdlib< 9.1.16.0
4 vendors · 8 products
References
25 links- github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099X Refsource MISCPatchThird Party AdvisoryREPORTWEB
- github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759X Refsource MISCPatchThird Party AdvisoryREPORTWEB
Show all 25 references
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlVendor AdvisoryX Refsource SUSEWEB