An issue was discovered in RubyGems 2.6 and later through 3.0.2.
Priority MEDIUM 44CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.
Why it matters now
EPSS 0.03219 88th percentileScored 2026-11-07
Fix Fixed rubygems-update (RubyGems): 2.7.9, 3.0.2Red Hat: 7 advisories
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-76wm-422q-92mq |
| — | rubygems-update (RubyGems) | 3.0.0 to before 3.0.2 | 3.0.2 | Patch available | GHSA-76wm-422q-92mq |
- — 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-76wm-422q-92mq
- rubygems-update (RubyGems) Vendor— Affected 3.0.0 to before 3.0.2 Fixed in 3.0.2 Patch available GHSA-76wm-422q-92mq
CPE configurations NVD · 5
| 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:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
- 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
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-76wm-422q-92mq rubygems-update (RubyGems) Fixed in 2.7.9 Advisory →
- Fix · GHSA-76wm-422q-92mq rubygems-update (RubyGems) Fixed in 3.0.2 Advisory →
Red Hat 7 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:1972 Released 2019-08-07 · Red Hat rating Importantruby:2.5 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.3-104.module+el8.0.0+3250+4b7d6d43.aarch64::ruby:2.5, ruby-2.5.3-104.module+el8.0.0+3250+4b7d6d43.i686::ruby:2.5, ruby-2.5.3-104.module+el8.0.0+3250+4b7d6d43.ppc64le::ruby:2.5 +47
- 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
Show 4 more Red Hat advisories
- 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
- RHSA-2019:1151 Released 2019-05-13 · Red Hat rating Importantrh-ruby23-ruby security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby23-ruby-2.3.8-70.el6, rh-ruby23-ruby-devel-2.3.8-70.el6, rh-ruby23-ruby-doc-2.3.8-70.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby23-ruby-2.3.8-70.el7, rh-ruby23-ruby-devel-2.3.8-70.el7, rh-ruby23-ruby-doc-2.3.8-70.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby23-ruby-2.3.8-70.el7, rh-ruby23-ruby-devel-2.3.8-70.el7, rh-ruby23-ruby-doc-2.3.8-70.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby23-ruby-2.3.8-70.el7, rh-ruby23-ruby-devel-2.3.8-70.el7, rh-ruby23-ruby-doc-2.3.8-70.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby23-ruby-2.3.8-70.el7, rh-ruby23-ruby-devel-2.3.8-70.el7, rh-ruby23-ruby-doc-2.3.8-70.el7 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby23-ruby-2.3.8-70.el6, rh-ruby23-ruby-devel-2.3.8-70.el6, rh-ruby23-ruby-doc-2.3.8-70.el6 +16
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby23-ruby-2.3.8-70.el7, rh-ruby23-ruby-devel-2.3.8-70.el7, rh-ruby23-ruby-doc-2.3.8-70.el7 +16
- 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: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| CloudForms Management Engine 5.10 | Fixed | RHSA-2019:1429 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2019:1972 |
| 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, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1148, RHSA-2019:1150, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1148, RHSA-2019:1150, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1148, RHSA-2019:1150, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1148, RHSA-2019:1150, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2019:1150, RHSA-2019:1151 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1148, RHSA-2019:1150, RHSA-2019:1151 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-8324
- 2026-10-03 Alias added: GHSA-76wm-422q-92mq
References
Advisory 5
Sources
- CVE-2019-8324 · CVE Program
- CVE-2019-8324 · NVD
- FIRST EPSS
- GHSA-76wm-422q-92mq · GitHub Advisory Database · CC BY 4.0
- CVE-2019-8324 · 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