Home / HackerOne / RubyGems / CVE-2017-0902
CVE-2017-0902: is it exploited, and which versions of HackerOne RubyGems are affected and fixed?
CVE-2017-0902 is a reliance on Reverse DNS Resolution for a Security-Critical Action 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-73w7-6w9g-gc8w). Fixed in 2.6.13 (GitHub advisory GHSA-73w7-6w9g-gc8w). Severity: High (8.1, 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-0902?
RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.
From the CVE record by hackerone, last updated September 17, 2024, 00:42 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-73w7-6w9g-gc8w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 9, 2023. Summary: RubyGems has Origin Validation Error 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 |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | 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-0902?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/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-2017-0902 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.75% probability of exploitation activity in the next 30 days, percentile 92.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
- CWE-346 Origin Validation Error
Where are the vendor advisories and references?
- USN-3685-1 vendor-advisory, x_refsource_UBUNTU
- USN-3553-1 vendor-advisory, x_refsource_UBUNTU
- RHSA-2018:0585 vendor-advisory, x_refsource_REDHAT
- DSA-3966 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:0378 vendor-advisory, x_refsource_REDHAT
- 1039249 vdb-entry, x_refsource_SECTRACK
- 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
- 100586 vdb-entry, x_refsource_BID
- https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32 x_refsource_MISC
- https://hackerone.com/reports/218088 x_refsource_MISC
- 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, 00:42 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-0901 HackerOne RubyGems: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2017CVE-2017-0899 HackerOne RubyGems: improper Neutralization of Escape, Meta, or Control Sequences
Questions about CVE-2017-0902
Is CVE-2017-0902 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 4.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of HackerOne RubyGems are affected by CVE-2017-0902?
rubygems-update before 2.6.13, per the GitHub advisory GHSA-73w7-6w9g-gc8w. The tables above give every range the sources list.
Which version fixes CVE-2017-0902?
2.6.13, per the GitHub advisory GHSA-73w7-6w9g-gc8w. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-0902?
High (8.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-0902?
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.