{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-0902","id":"CVE-2017-0902","title":"RubyGems has Origin Validation Error vulnerability","description":"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.","descriptionLong":"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-31T20:00:00.000Z","updated":"2026-10-20T10:48:06.155120616Z","reserved":"2016-11-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["HackerOne RubyGems"],"affectedProducts":[{"vendor":"HackerOne","product":"RubyGems","defaultStatus":null,"versions":[{"status":"affected","version":"Versions before 2.6.13"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rubygems-update","purl":"pkg:gem/rubygems-update","ranges":["<2.6.13"],"fixed":["2.6.13"],"advisory":"GHSA-73w7-6w9g-gc8w"}],"cwes":["CWE-350","CWE-346"],"aliases":["GHSA-73w7-6w9g-gc8w"],"references":[{"url":"https://usn.ubuntu.com/3685-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3553-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securitytracker.com/id/1039249","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/201710-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/100586","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://hackerone.com/reports/218088","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-0902","tags":["advisory"]},{"url":"https://github.com/rubygems/rubygems","tags":["package"]},{"url":"https://usn.ubuntu.com/3553-1","tags":["web"]},{"url":"https://usn.ubuntu.com/3685-1","tags":["web"]},{"url":"https://web.archive.org/web/20170907040741/http://www.securityfocus.com/bid/100586","tags":["web"]},{"url":"https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0475,"epssPercentile":0.92051,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-0902","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-0902","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-0902","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-73w7-6w9g-gc8w","ok":true,"note":"GHSA-73w7-6w9g-gc8w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-0902","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}