KeygraphLabs · CVE MCP

CVE-2017-0902 · hackerone

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.

Published 2017-08-31, last changed 2026-06-17. Weakness: CWE-350, CWE-346.

CVSS
8.1
high, from NVD
EPSS
4.75%
percentile 92.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: rubygems-update 2.6.13 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in rubygems/rubygems by 8d91516fb7, 8d91516fb7. Functions changed by the fix: api_endpoint. Regression tests: test/rubygems/test_gem_remote_fetcher.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-08-31Published
2022-05-13Package advisory GHSA-73w7-6w9g-gc8w
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 4.75%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-73w7-6w9g-gc8wrubygems-update (RubyGems)2.6.13

Also known as: GHSA-73w7-6w9g-gc8w

Related

CVEPublishedCVSSSummary
CVE-2019-83232019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83222019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83212019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83252019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83242019-06-178.8same package: rubygems-update (RubyGems)
CVE-2019-83202019-06-067.4same package: rubygems-update (RubyGems)
CVE-2018-10000792018-03-135.5same package: rubygems-update (RubyGems)
CVE-2018-10000782018-03-136.1same package: rubygems-update (RubyGems)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-0902, or call /api/v1/vulnerabilities/CVE-2017-0902. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org