Home / Rubygems / Rubygems / CVE-2019-8324
CVE-2019-8324: is it exploited, and which versions of Rubygems are affected and fixed?
CVE-2019-8324 is a code injection (remote code execution) 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:38 UTC). Affected: rubygems-update from 2.6.0 before 2.7.9 and rubygems-update from 3.0.0 before 3.0.2 (GitHub advisory GHSA-76wm-422q-92mq). Fixed in 2.7.9 and 3.0.2 (GitHub advisory GHSA-76wm-422q-92mq). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:22 UTC.
What is CVE-2019-8324?
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.
From the CVE record by mitre, last updated August 4, 2024, 21:17 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rubygems-update | >= 2.6.0, < 2.7.9 | 2.7.9 | GHSA-76wm-422q-92mq |
| RubyGems | rubygems-update | >= 3.0.0, < 3.0.2 | 3.0.2 | GHSA-76wm-422q-92mq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 17, 2021. Summary: Code injection in RubyGems.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubygems | rubygems | from 2.6.0 through 3.0.2 | application |
| debian | debian linux | 9.0 | operating system |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 15.1 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:41 UTC.
How severe is CVE-2019-8324?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | 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-2019-8324 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.13% probability of exploitation activity in the next 30 days, percentile 88.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://hackerone.com/reports/328571 x_refsource_MISC
- openSUSE-SU-2019:1771 vendor-advisory, x_refsource_SUSE
- RHSA-2019:1972 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20200816 [SECURITY] [DLA 2330-1] jruby security update mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- February 13, 2019
- Published
- June 17, 2019, 18:59 UTC
- CVE record updated
- August 4, 2024, 21:17 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:41 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:22 UTC; KEV December 3, 2026, 09:38 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 6, 2019CVE-2019-8320 Rubygems: path traversal (reading or writing files outside the intended folder)
- Mar 13, 2018CVE-2018-1000079 Rubygems: path traversal (reading or writing files outside the intended folder)
- Mar 13, 2018CVE-2018-1000078 Rubygems: cross-site scripting (XSS)
Questions about CVE-2019-8324
Is CVE-2019-8324 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 3.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubygems are affected by CVE-2019-8324?
rubygems-update from 2.6.0 before 2.7.9 and rubygems-update from 3.0.0 before 3.0.2, per the GitHub advisory GHSA-76wm-422q-92mq. The tables above give every range the sources list.
Which version fixes CVE-2019-8324?
2.7.9 and 3.0.2, per the GitHub advisory GHSA-76wm-422q-92mq. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-8324?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-8324?
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.