Home / Rubygems / Rubygems / CVE-2019-8323
CVE-2019-8323: is it exploited, and which versions of Rubygems are affected and fixed?
CVE-2019-8323 is an injection 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:08 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-3h4r-pjv6-cph9). Fixed in 2.7.9 and 3.0.2 (GitHub advisory GHSA-3h4r-pjv6-cph9). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:22 UTC.
What is CVE-2019-8323?
An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.
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-3h4r-pjv6-cph9 |
| RubyGems | rubygems-update | >= 3.0.0, < 3.0.2 | 3.0.2 | GHSA-3h4r-pjv6-cph9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 28, 2023. Summary: RubyGems Escape sequence injection vulnerability in api response handling.
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 |
NVD analysis (status Modified), last modified June 17, 2026, 02:41 UTC.
How severe is CVE-2019-8323?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | 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-8323 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.28% probability of exploitation activity in the next 30 days, percentile 88.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://hackerone.com/reports/315081 x_refsource_MISC
- openSUSE-SU-2019:1771 vendor-advisory, x_refsource_SUSE
- [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, 19:01 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:08 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-8325 Rubygems: injection
- Jun 17, 2019CVE-2019-8324 Rubygems: code injection (remote code execution)
- 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-8323
Is CVE-2019-8323 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 3.28% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubygems are affected by CVE-2019-8323?
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-3h4r-pjv6-cph9. The tables above give every range the sources list.
Which version fixes CVE-2019-8323?
2.7.9 and 3.0.2, per the GitHub advisory GHSA-3h4r-pjv6-cph9. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-8323?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-8323?
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.