{"id":"CVE-2015-3900","aliases":["GHSA-wp3j-rvfp-624h"],"url":"https://o3.security/vulnerability/CVE-2015-3900","summary":"RubyGems vulnerable to DNS hijack attack","details":"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.\"","published":"2015-06-24T14:59:01Z","modified":"2026-04-16T06:16:19.787792045Z","cvss":null,"epss":{"score":0.08934,"percentile":0.94836,"asOf":"2026-08-22"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"rubygems-update","fixedVersion":"2.0.16"},{"ecosystem":"RubyGems","name":"rubygems-update","fixedVersion":"2.2.4"},{"ecosystem":"RubyGems","name":"rubygems-update","fixedVersion":"2.4.7"}],"fix":null,"references":[{"type":"ADVISORY","url":"http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2015-1657.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2015/06/26/2"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html"},{"type":"ADVISORY","url":"https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356"},{"type":"ADVISORY","url":"https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/75482"},{"type":"WEB","url":"https://puppet.com/security/cve/CVE-2015-3900"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3900"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2015-3900.yml"},{"type":"WEB","url":"https://web.archive.org/web/20170331091241/https://puppet.com/security/cve/CVE-2015-3900"},{"type":"WEB","url":"https://web.archive.org/web/20200228055155/http://www.securityfocus.com/bid/75482"},{"type":"WEB","url":"https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:16:19.787792045Z"}}