ADVISORIES

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…

    CVE-2015-3900 Debian Updated 9 September 2026
  • GHSA-wp3j-rvfp-624h

    RubyGems vulnerable to DNS hijack attack

    High CVE-2015-3900 RubyGems Updated 30 November 2024
  • RHSA-2015:1657

    Red Hat Security Advisory: rh-ruby22-ruby security update

    CVE-2015-3900 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2015-3900

    rubygems: DNS hijacking vulnerability in api_endpoint()

    Important CVE-2015-3900 Red Hat Updated 4 November 2026
  • SUSE-SU-2017:1067-1

    Security update for ruby2.1

    CVE-2014-4975CVE-2015-1855CVE-2015-3900CVE-2015-7551 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:10090-1

    libruby2_3-2_3-2.3.1-1.6 on GA media

    CVE-2015-1855CVE-2015-3900 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10481-1

    libruby2_2-2_2-2.2.5-1.5 on GA media

    CVE-2015-1855CVE-2015-3900CVE-2015-7551 openSUSE Updated 4 February 2026

References