Home / Rubygems / Rubygems / CVE-2018-1000079
CVE-2018-1000079: is it exploited, and which versions of Rubygems are affected and fixed?
CVE-2018-1000079 is a path traversal (reading or writing files outside the intended folder) vulnerability in Rubygems. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: rubygems-update before 2.7.6 and org.jruby:jruby-stdlib before 9.1.16.0 (GitHub advisory GHSA-8qxg-mff5-j3wc). Fixed in 2.7.6 and 9.1.16.0 (GitHub advisory GHSA-8qxg-mff5-j3wc). Severity: Medium (5.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:34 UTC.
What is CVE-2018-1000079?
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.
From the CVE record by mitre, last updated August 5, 2024, 12:33 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rubygems-update | < 2.7.6 | 2.7.6 | GHSA-8qxg-mff5-j3wc |
| Maven | org.jruby:jruby-stdlib | < 9.1.16.0 | 9.1.16.0 | GHSA-8qxg-mff5-j3wc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 10, 2023. Summary: RubyGems Path Traversal vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubygems | rubygems | through 2.2.9 | application |
| rubygems | rubygems | through 2.3.6 | application |
| rubygems | rubygems | through 2.4.3 | application |
| rubygems | rubygems | through 2.5.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:32 UTC.
How severe is CVE-2018-1000079?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1000079 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.78% probability of exploitation activity in the next 30 days, percentile 86.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- DSA-4219 vendor-advisory, x_refsource_DEBIAN
- USN-3621-1 vendor-advisory, x_refsource_UBUNTU
- RHSA-2018:3729 vendor-advisory, x_refsource_REDHAT
- https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099 x_refsource_MISC
- RHSA-2018:3730 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:3731 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-list, x_refsource_MLIST
- DSA-4259 vendor-advisory, x_refsource_DEBIAN
- https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759 x_refsource_MISC
- http://blog.rubygems.org/2018/02/15/2.7.6-released.html x_refsource_MISC
- openSUSE-SU-2019:1771 vendor-advisory, x_refsource_SUSE
- RHSA-2019:2028 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0542 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0591 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0663 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- February 21, 2018
- Published
- March 13, 2018, 15:00 UTC
- CVE record updated
- August 5, 2024, 12:33 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:32 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:34 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Rubygems?
- Dec 8, 2021CVE-2021-43809 rubygems: argument injection
- Jun 17, 2019CVE-2019-8321 Rubygems: argument injection
- Jun 17, 2019CVE-2019-8322 Rubygems: injection
- Jun 17, 2019CVE-2019-8323 Rubygems: injection
- Jun 17, 2019CVE-2019-8325 Rubygems: injection
- Jun 17, 2019CVE-2019-8324 Rubygems: code injection (remote code execution)
- Jun 6, 2019CVE-2019-8320 Rubygems: path traversal (reading or writing files outside the intended folder)
- Mar 13, 2018CVE-2018-1000078 Rubygems: cross-site scripting (XSS)
Questions about CVE-2018-1000079
Is CVE-2018-1000079 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 2.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubygems are affected by CVE-2018-1000079?
rubygems-update before 2.7.6 and org.jruby:jruby-stdlib before 9.1.16.0, per the GitHub advisory GHSA-8qxg-mff5-j3wc. The tables above give every range the sources list.
Which version fixes CVE-2018-1000079?
2.7.6 and 9.1.16.0, per the GitHub advisory GHSA-8qxg-mff5-j3wc. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1000079?
Medium (5.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1000079?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.