{"id":"CVE-2017-0902","published":"2017-08-31T20:00:00Z","modified":"2024-09-17T00:42:39Z","title":"RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to…","vendor":"HackerOne","product":"RubyGems","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0475,"percentile":0.92086,"provenance":"source"},"cwes":[{"id":"CWE-350","name":"Reliance on Reverse DNS Resolution for a Security-Critical Action"}],"references":[{"url":"https://usn.ubuntu.com/3685-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3553-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1039249","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/201710-01","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/bid/100586","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/218088","tags":["x_refsource_MISC"]},{"url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.42}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"RubyGems","versions":["Versions before 2.6.13"]}],"affected":[{"ecosystem":"RubyGems","package":"rubygems-update","vulnerableRanges":["<2.6.13"],"patched":["2.6.13"],"from":["GHSA-73w7-6w9g-gc8w"],"provenance":"source"}],"summary":{"text":"The RubyGems client, in version 2.6.12 and earlier, contains a flaw in which a security-critical action relies on reverse DNS resolution, enabling DNS hijacking.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:12:47Z"},"euvd":{"id":"EUVD-2022-2905","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-rubygems-cve-2012-2126","parents":[{"from":"CVE-2012-2126","to":"CVE-2017-0902","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rubygems/remote_fetcher.rb"],"commits":["https://github.com/rubygems/rubygems/commit/d4c7eafb8efe1e13a7abf5be5a5b4548870b15b7","https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32"],"basis":"rarely changed file"}]},{"from":"CVE-2015-4020","to":"CVE-2017-0902","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rubygems/remote_fetcher.rb"],"commits":["https://github.com/rubygems/rubygems/commit/5c7bfb5c05202b4db971dd672d88a42298a0d84e","https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32"],"basis":"shared function","functions":["api_endpoint"]}]}]}}