Read the docs

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier…

Priority LOW 30CWE-22Published · Updated

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

EPSS 0.02779 86th percentileScored 2026-11-07
Fix Partial rubygems-update (RubyGems): 2.7.6org.jruby:jruby-stdlib (Maven): 9.1.16.0Red Hat: 7 advisoriesRed Hat: 31 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—rubygems-update (RubyGems)before 2.7.62.7.6Patch availableGHSA-8qxg-mff5-j3wc
—org.jruby:jruby-stdlib (Maven)before 9.1.16.09.1.16.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*up to 2.2.9; up to 2.3.6; up to 2.4.3; up to 2.5.0Vulnerablerubygems
  • cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* Versions up to 2.2.9; up to 2.3.6; up to 2.4.3; up to 2.5.0 Vulnerable ·rubygems

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 Moderate
    ruby 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 Moderate
    ruby 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 Moderate
    ruby 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 Moderate
    ruby 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 Important
    rh-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 Important
    rh-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 Important
    rh-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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise MRG 2AffectedNo fix planned: Will not fix
Red Hat Satellite 6AffectedNo fix planned: Will not fix
Red Hat Subscription Asset ManagerAffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2018-1000079
  2. 2026-10-03 Alias added: GHSA-8qxg-mff5-j3wc

References

  • 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
See all 24 →

Sources