{"cve":"CVE-2015-3900","nvd":{"published":"2015-06-24T14:59:01.190","modified":"2026-06-17T00:26:28.260","status":"Modified","description":"RubyGems 2.0.x before 2.0.16, 2.2.x before 2.2.4, and 2.4.x before 2.4.7 does not validate the hostname when fetching gems or making API requests, which allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record, aka a \"DNS hijack attack.\"","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-254"],"references":["http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html","http://rhn.redhat.com/errata/RHSA-2015-1657.html"],"products":["oracle:solaris","redhat:enterprise_linux","ruby-lang:ruby","rubygems:rubygems"],"source":"nvd","synced_at":"2026-10-19T20:36:40.444340523+00:00"},"epss":{"cve":"CVE-2015-3900","score":0.08871,"percentile":0.95216,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wp3j-rvfp-624h","url":"https://osv.dev/vulnerability/GHSA-wp3j-rvfp-624h","summary":"RubyGems vulnerable to DNS hijack attack","modified":"2024-11-30T05:39:08.392749Z","packages":[{"ecosystem":"RubyGems","name":"rubygems-update","purl":"pkg:gem/rubygems-update","ranges":[">=2.0.0 <2.0.16"],"fixed":["2.0.16"]},{"ecosystem":"RubyGems","name":"rubygems-update","purl":"pkg:gem/rubygems-update","ranges":[">=2.2.0 <2.2.4"],"fixed":["2.2.4"]},{"ecosystem":"RubyGems","name":"rubygems-update","purl":"pkg:gem/rubygems-update","ranges":[">=2.4.0 <2.4.7"],"fixed":["2.4.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}