Vulnerability
CVE-2015-3900
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."
7 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
DEBIAN-CVE-2015-3900
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…
-
GHSA-wp3j-rvfp-624h
RubyGems vulnerable to DNS hijack attack
-
RHSA-2015:1657
Red Hat Security Advisory: rh-ruby22-ruby security update
-
RHVEX-CVE-2015-3900
rubygems: DNS hijacking vulnerability in api_endpoint()
-
SUSE-SU-2017:1067-1
Security update for ruby2.1
-
openSUSE-SU-2024:10090-1
libruby2_3-2_3-2.3.1-1.6 on GA media
-
openSUSE-SU-2024:10481-1
libruby2_2-2_2-2.2.5-1.5 on GA media
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
- http://www.openwall.com/lists/oss-security/2015/06/26/2
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- http://www.securityfocus.com/bid/75482
- https://puppet.com/security/cve/CVE-2015-3900
- https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356
- https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/