CVE-2017-0902

Public Exploit

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.

Categories

8.1
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 2.07% Top 20%
Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory rubygems.org
Affected: HackerOne RubyGems
Published at:
Updated at:

References

Link Tags
https://usn.ubuntu.com/3685-1/ third party advisory vendor advisory
https://usn.ubuntu.com/3553-1/ third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:0585 third party advisory vendor advisory
https://www.debian.org/security/2017/dsa-3966 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:0378 third party advisory vendor advisory
http://www.securitytracker.com/id/1039249 third party advisory vdb entry
https://access.redhat.com/errata/RHSA-2017:3485 third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html third party advisory mailing list
https://access.redhat.com/errata/RHSA-2018:0583 third party advisory vendor advisory
https://security.gentoo.org/glsa/201710-01 third party advisory vendor advisory
http://www.securityfocus.com/bid/100586 third party advisory vdb entry
https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32 patch third party advisory exploit
https://hackerone.com/reports/218088 third party advisory issue tracking exploit
http://blog.rubygems.org/2017/08/27/2.6.13-released.html patch vendor advisory

Frequently Asked Questions

What is the severity of CVE-2017-0902?
CVE-2017-0902 has been scored as a high severity vulnerability.
How to fix CVE-2017-0902?
To fix CVE-2017-0902, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-0902 being actively exploited in the wild?
It is possible that CVE-2017-0902 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2017-0902?
CVE-2017-0902 affects HackerOne RubyGems.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.