An issue was discovered in RubyGems 2.6 and later through 3.0.2.
Priority LOW 39CWE-74Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 25 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur.
Why it matters now
EPSS 0.03281 88th percentileScored 2026-11-07
Fix Partial rubygems-update (RubyGems): 2.7.9, 3.0.2Red Hat: 5 advisoriesRed Hat: 25 fixed, 2 without a fix
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) | 2.6.0 to before 2.7.9 | 2.7.9 | Patch available | GHSA-mh37-8c3g-3fgc |
| — | rubygems-update (RubyGems) | 3.0.0 to before 3.0.2 | 3.0.2 | Patch available | GHSA-mh37-8c3g-3fgc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rubygems-update (RubyGems) Vendor— Affected 2.6.0 to before 2.7.9 Fixed in 2.7.9 Patch available GHSA-mh37-8c3g-3fgc
- rubygems-update (RubyGems) Vendor— Affected 3.0.0 to before 3.0.2 Fixed in 3.0.2 Patch available GHSA-mh37-8c3g-3fgc
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* | 2.6.0 – 3.0.2 | Vulnerable | rubygems |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
- cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* Versions 2.6.0 – 3.0.2 Vulnerable ·rubygems
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
Remediation
- Fix · GHSA-mh37-8c3g-3fgc rubygems-update (RubyGems) Fixed in 2.7.9 Advisory →
- Fix · GHSA-mh37-8c3g-3fgc rubygems-update (RubyGems) Fixed in 3.0.2 Advisory →
Red Hat 5 advisories
- RHSA-2020:2769 Released 2020-06-30 · Red Hat rating Importantruby security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- Red Hat Enterprise Linux Server E4S (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) ruby-devel-2.0.0.648-37.el7_4, ruby-doc-2.0.0.648-37.el7_4, ruby-tcltk-2.0.0.648-37.el7_4 +3
- Red Hat Enterprise Linux Server TUS (v. 7.4) ruby-2.0.0.648-37.el7_4, ruby-irb-2.0.0.648-37.el7_4, ruby-libs-2.0.0.648-37.el7_4 +6
- RHSA-2019:1429 Released 2019-06-11 · Red Hat rating ImportantCloudForms 4.7.5 security, bug fix and enhancement update
- CloudForms Management Engine 5.10 cfme-5.10.5.1-1.el7cf, cfme-amazon-smartstate-5.10.5.1-1.el7cf, cfme-appliance-5.10.5.1-1.el7cf +22
- RHSA-2019:1235 Released 2019-05-15 · Red Hat rating Importantruby security update
- Red Hat Enterprise Linux Client (v. 7) ruby-2.0.0.648-35.el7_6, ruby-irb-2.0.0.648-35.el7_6, ruby-libs-2.0.0.648-35.el7_6 +6
- Red Hat Enterprise Linux Client Optional (v. 7) ruby-devel-2.0.0.648-35.el7_6, ruby-doc-2.0.0.648-35.el7_6, ruby-tcltk-2.0.0.648-35.el7_6 +3
- Red Hat Enterprise Linux ComputeNode (v. 7) ruby-2.0.0.648-35.el7_6, ruby-irb-2.0.0.648-35.el7_6, ruby-libs-2.0.0.648-35.el7_6 +6
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ruby-devel-2.0.0.648-35.el7_6, ruby-doc-2.0.0.648-35.el7_6, ruby-tcltk-2.0.0.648-35.el7_6 +3
- Red Hat Enterprise Linux Server (v. 7) ruby-2.0.0.648-35.el7_6, ruby-irb-2.0.0.648-35.el7_6, ruby-libs-2.0.0.648-35.el7_6 +7
- Red Hat Enterprise Linux Server Optional (v. 7) ruby-devel-2.0.0.648-35.el7_6, ruby-doc-2.0.0.648-35.el7_6, ruby-tcltk-2.0.0.648-35.el7_6 +3
- Red Hat Enterprise Linux Workstation (v. 7) ruby-2.0.0.648-35.el7_6, ruby-irb-2.0.0.648-35.el7_6, ruby-libs-2.0.0.648-35.el7_6 +6
- Red Hat Enterprise Linux Workstation Optional (v. 7) ruby-devel-2.0.0.648-35.el7_6, ruby-doc-2.0.0.648-35.el7_6, ruby-tcltk-2.0.0.648-35.el7_6 +3
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby-2.0.0.648-35.el7_6, ruby-irb-2.0.0.648-35.el7_6, ruby-libs-2.0.0.648-35.el7_6 +6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ruby-devel-2.0.0.648-35.el7_6, ruby-doc-2.0.0.648-35.el7_6, ruby-tcltk-2.0.0.648-35.el7_6 +3
Show 2 more Red Hat advisories
- RHSA-2019:1150 Released 2019-05-13 · 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.6-92.el6, rh-ruby24-ruby-devel-2.4.6-92.el6, rh-ruby24-ruby-doc-2.4.6-92.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby24-ruby-2.4.6-92.el7, rh-ruby24-ruby-devel-2.4.6-92.el7, rh-ruby24-ruby-doc-2.4.6-92.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby24-ruby-2.4.6-92.el7, rh-ruby24-ruby-devel-2.4.6-92.el7, rh-ruby24-ruby-doc-2.4.6-92.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby24-ruby-2.4.6-92.el7, rh-ruby24-ruby-devel-2.4.6-92.el7, rh-ruby24-ruby-doc-2.4.6-92.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby24-ruby-2.4.6-92.el7, rh-ruby24-ruby-devel-2.4.6-92.el7, rh-ruby24-ruby-doc-2.4.6-92.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby24-ruby-2.4.6-92.el6, rh-ruby24-ruby-devel-2.4.6-92.el6, rh-ruby24-ruby-doc-2.4.6-92.el6 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby24-ruby-2.4.6-92.el7, rh-ruby24-ruby-devel-2.4.6-92.el7, rh-ruby24-ruby-doc-2.4.6-92.el7 +17
- RHSA-2019:1148 Released 2019-05-13 · 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.5-7.el7, rh-ruby25-ruby-devel-2.5.5-7.el7, rh-ruby25-ruby-doc-2.5.5-7.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby25-ruby-2.5.5-7.el7, rh-ruby25-ruby-devel-2.5.5-7.el7, rh-ruby25-ruby-doc-2.5.5-7.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby25-ruby-2.5.5-7.el7, rh-ruby25-ruby-devel-2.5.5-7.el7, rh-ruby25-ruby-doc-2.5.5-7.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby-2.5.5-7.el7, rh-ruby25-ruby-devel-2.5.5-7.el7, rh-ruby25-ruby-doc-2.5.5-7.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby-2.5.5-7.el7, rh-ruby25-ruby-devel-2.5.5-7.el7, rh-ruby25-ruby-doc-2.5.5-7.el7 +17
Vendor assessments
Red Hat
Red Hat rating: Low. 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 Software Collections | Affected | No fix yet: Fix deferred |
| CloudForms Management Engine 5.10 | Fixed | RHSA-2019:1429 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:2769 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2019:1235 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1148, RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1148, RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1148, RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1148, RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2019:1150 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1148, RHSA-2019:1150 |
Not affected: 1 product
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-8322
- 2026-10-03 Alias added: GHSA-mh37-8c3g-3fgc
References
Advisory 4
Sources
- CVE-2019-8322 · CVE Program
- CVE-2019-8322 · NVD
- FIRST EPSS
- GHSA-mh37-8c3g-3fgc · GitHub Advisory Database · CC BY 4.0
- CVE-2019-8322 · 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