RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 31 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rubygems-update (RubyGems) | before 2.7.6 | 2.7.6 | Patch available | GHSA-8qxg-mff5-j3wc |
| — | org.jruby:jruby-stdlib (Maven) | before 9.1.16.0 | 9.1.16.0 | Patch available | GHSA-8qxg-mff5-j3wc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rubygems-update (RubyGems) Vendor— Affected before 2.7.6 Fixed in 2.7.6 Patch available GHSA-8qxg-mff5-j3wc
- org.jruby:jruby-stdlib (Maven) Vendor— Affected before 9.1.16.0 Fixed in 9.1.16.0 Patch available GHSA-8qxg-mff5-j3wc
Remediation
- Fix · GHSA-8qxg-mff5-j3wc rubygems-update (RubyGems) Fixed in 2.7.6 Advisory →
- Fix · GHSA-8qxg-mff5-j3wc org.jruby:jruby-stdlib (Maven) Fixed in 9.1.16.0 Advisory →
Red Hat 7 advisories
- RHSA-2020:0663 Released 2020-03-03 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ruby-2.0.0.648-36.el7_6, ruby-irb-2.0.0.648-36.el7_6, ruby-libs-2.0.0.648-36.el7_6 +6
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) ruby-devel-2.0.0.648-36.el7_6, ruby-doc-2.0.0.648-36.el7_6, ruby-tcltk-2.0.0.648-36.el7_6 +3
- Red Hat Enterprise Linux Server EUS (v. 7.6) ruby-2.0.0.648-36.el7_6, ruby-irb-2.0.0.648-36.el7_6, ruby-libs-2.0.0.648-36.el7_6 +7
- Red Hat Enterprise Linux Server Optional EUS (v. 7.6) ruby-devel-2.0.0.648-36.el7_6, ruby-doc-2.0.0.648-36.el7_6, ruby-tcltk-2.0.0.648-36.el7_6 +3
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby-2.0.0.648-36.el7_6, ruby-irb-2.0.0.648-36.el7_6, ruby-libs-2.0.0.648-36.el7_6 +6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ruby-devel-2.0.0.648-36.el7_6, ruby-doc-2.0.0.648-36.el7_6, ruby-tcltk-2.0.0.648-36.el7_6 +3
- RHSA-2020:0591 Released 2020-02-25 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) ruby-2.0.0.648-35.el7_4, ruby-irb-2.0.0.648-35.el7_4, ruby-libs-2.0.0.648-35.el7_4 +6
- Red Hat Enterprise Linux Server E4S (v. 7.4) ruby-2.0.0.648-35.el7_4, ruby-irb-2.0.0.648-35.el7_4, ruby-libs-2.0.0.648-35.el7_4 +6
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) ruby-devel-2.0.0.648-35.el7_4, ruby-doc-2.0.0.648-35.el7_4, ruby-tcltk-2.0.0.648-35.el7_4 +3
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) ruby-devel-2.0.0.648-35.el7_4, ruby-doc-2.0.0.648-35.el7_4, ruby-tcltk-2.0.0.648-35.el7_4 +3
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) ruby-devel-2.0.0.648-35.el7_4, ruby-doc-2.0.0.648-35.el7_4, ruby-tcltk-2.0.0.648-35.el7_4 +3
- Red Hat Enterprise Linux Server TUS (v. 7.4) ruby-2.0.0.648-35.el7_4, ruby-irb-2.0.0.648-35.el7_4, ruby-libs-2.0.0.648-35.el7_4 +6
- RHSA-2020:0542 Released 2020-02-19 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) ruby-2.0.0.648-35.el7_5, ruby-irb-2.0.0.648-35.el7_5, ruby-libs-2.0.0.648-35.el7_5 +6
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) ruby-devel-2.0.0.648-35.el7_5, ruby-doc-2.0.0.648-35.el7_5, ruby-tcltk-2.0.0.648-35.el7_5 +3
- Red Hat Enterprise Linux Server EUS (v. 7.5) ruby-2.0.0.648-35.el7_5, ruby-irb-2.0.0.648-35.el7_5, ruby-libs-2.0.0.648-35.el7_5 +7
- Red Hat Enterprise Linux Server Optional EUS (v. 7.5) ruby-devel-2.0.0.648-35.el7_5, ruby-doc-2.0.0.648-35.el7_5, ruby-tcltk-2.0.0.648-35.el7_5 +3
Show 4 more Red Hat advisories
- RHSA-2019:2028 Released 2019-08-06 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux Client (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux Client Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux ComputeNode (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux Server (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +7
- Red Hat Enterprise Linux Server Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- Red Hat Enterprise Linux Workstation (v. 7) ruby-2.0.0.648-36.el7, ruby-irb-2.0.0.648-36.el7, ruby-libs-2.0.0.648-36.el7 +6
- Red Hat Enterprise Linux Workstation Optional (v. 7) ruby-devel-2.0.0.648-36.el7, ruby-doc-2.0.0.648-36.el7, ruby-tcltk-2.0.0.648-36.el7 +3
- RHSA-2018:3731 Released 2018-11-29 · Red Hat rating Importantrh-ruby25-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
- RHSA-2018:3730 Released 2018-11-29 · Red Hat rating Importantrh-ruby24-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
- RHSA-2018:3729 Released 2018-11-29 · Red Hat rating Importantrh-ruby23-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise MRG 2 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6 | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Fixed | RHSA-2020:0542 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2020:0663 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) | Fixed | RHSA-2020:0542 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) | Fixed | RHSA-2020:0663 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2020:0542 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:0663 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.5) | Fixed | RHSA-2020:0542 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.6) | Fixed | RHSA-2020:0663 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2020:0663 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2020:0663 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:3729, RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:3729, RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1000079
- 2026-10-03 Alias added: GHSA-8qxg-mff5-j3wc
References
Patch 2
Advisory 13
Other 6
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update
- https://github.com/jruby/jruby/commit/0b06b48ab4432237ce5fc1bef47f2c6bcf7843f7
- https://github.com/rubygems/rubygems/commit/5971b486d4dbb2bad5d3445b3801c456eb0ce183
- https://usn.ubuntu.com/3621-1
- https://security-tracker.debian.org/tracker/CVE-2018-1000079
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895778
More Rubygems vulnerabilities
- TI-2017-00851 Deserialization of untrusted data in HackerOne RubyGems CVSS 3.0CRITICAL 9.8
- TI-2017-00849 Path traversal in HackerOne RubyGems CVSS 3.0HIGH 7.5
- TI-2017-00847 Code injection in HackerOne RubyGems CVSS 3.0CRITICAL 9.8
- TI-2018-15731 RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier… CVSS 3.0CRITICAL 9.8
- TI-2019-05977 An issue was discovered in RubyGems 2.6 and later through 3.0.2. CVSS 3.1HIGH 8.8
- TI-2017-00848 RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem… CVSS 3.0HIGH 7.5
Sources
- CVE-2018-1000079 · CVE Program
- CVE-2018-1000079 · NVD
- FIRST EPSS
- GHSA-8qxg-mff5-j3wc · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1000079 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences