Home / HackerOne / RubyGems / CVE-2017-0899
CVE-2017-0899: is it exploited, and which versions of HackerOne RubyGems are affected and fixed?
CVE-2017-0899 is an improper Neutralization of Escape, Meta, or Control Sequences vulnerability in HackerOne 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, 07:08 UTC). Affected: rubygems-update before 2.6.13 (GitHub advisory GHSA-7gcp-2gmq-w3xh). Fixed in 2.6.13 (GitHub advisory GHSA-7gcp-2gmq-w3xh). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is CVE-2017-0899?
RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.
From the CVE record by hackerone, last updated September 17, 2024, 02:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| HackerOne | RubyGems | Versions before 2.6.13 |
As the CVE record by hackerone states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rubygems-update | < 2.6.13 | 2.6.13 | GHSA-7gcp-2gmq-w3xh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 9, 2023. Summary: RubyGems Code Injection vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubygems | rubygems | through 2.6.12 | application |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux server aus | 7.4 | operating system |
| redhat | enterprise linux server aus | 7.6 | operating system |
| redhat | enterprise linux server eus | 7.4 | operating system |
| redhat | enterprise linux server eus | 7.5 | operating system |
| redhat | enterprise linux server eus | 7.6 | operating system |
| redhat | enterprise linux server tus | 7.4 | operating system |
| redhat | enterprise linux server tus | 7.6 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:58 UTC.
How severe is CVE-2017-0899?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/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-2017-0899 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 11.1% probability of exploitation activity in the next 30 days, percentile 96.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- RHSA-2018:0585 vendor-advisory, x_refsource_REDHAT
- DSA-3966 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:0378 vendor-advisory, x_refsource_REDHAT
- https://hackerone.com/reports/226335 x_refsource_MISC
- 1039249 vdb-entry, x_refsource_SECTRACK
- https://github.com/rubygems/rubygems/commit/1bcbc7fe637b03145401ec9c094066285934a7f1 x_refsource_MISC
- https://github.com/rubygems/rubygems/commit/ef0aa611effb5f54d40c7fba6e8235eb43c5a491 x_refsource_MISC
- RHSA-2017:3485 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-list, x_refsource_MLIST
- RHSA-2018:0583 vendor-advisory, x_refsource_REDHAT
- GLSA-201710-01 vendor-advisory, x_refsource_GENTOO
- 100576 vdb-entry, x_refsource_BID
- http://blog.rubygems.org/2017/08/27/2.6.13-released.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 30, 2016
- Published
- August 31, 2017, 20:00 UTC
- CVE record updated
- September 17, 2024, 02:20 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 00:58 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect RubyGems?
- Oct 11, 2017CVE-2017-0903 HackerOne RubyGems: deserialization of untrusted data
- Aug 31, 2017CVE-2017-0902 HackerOne RubyGems: reliance on Reverse DNS Resolution for a Security-Critical Action
- Aug 31, 2017CVE-2017-0901 HackerOne RubyGems: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2017-0899
Is CVE-2017-0899 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 11.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of HackerOne RubyGems are affected by CVE-2017-0899?
rubygems-update before 2.6.13, per the GitHub advisory GHSA-7gcp-2gmq-w3xh. The tables above give every range the sources list.
Which version fixes CVE-2017-0899?
2.6.13, per the GitHub advisory GHSA-7gcp-2gmq-w3xh. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-0899?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-0899?
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.