cve.bz

CVE-2015-3900 7PK - Security Features

no score yetEPSS 8.9%Fix available

No CVSS score yet. EPSS 8.9% estimated probability of exploitation activity in the next 30 days. Fixed in rubygems-update 2.0.16, 2.2.4, 2.4.7.

On this page
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."
EPSS
8.9% (unchanged from 8.9% a week ago; 8.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-254 7PK - Security Features
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-3900 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-3900?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-3900?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-3900 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:ruby1.9
ruby-lang:ruby1.9.1
ruby-lang:ruby1.9.2
ruby-lang:ruby1.9.3
ruby-lang:ruby2.0.0
ruby-lang:ruby2.1
ruby-lang:ruby2.1.1
ruby-lang:ruby2.1.2
ruby-lang:ruby2.1.3
ruby-lang:ruby2.1.4
ruby-lang:ruby2.1.5
ruby-lang:ruby2.2.0
rubygems:rubygems2.0.0
rubygems:rubygems2.0.1
rubygems:rubygems2.0.2
rubygems:rubygems2.0.3
rubygems:rubygems2.0.4
rubygems:rubygems2.0.5
rubygems:rubygems2.0.6
rubygems:rubygems2.0.7
rubygems:rubygems2.0.8
rubygems:rubygems2.0.9
rubygems:rubygems2.0.10
rubygems:rubygems2.0.11
rubygems:rubygems2.0.12
rubygems:rubygems2.0.13
rubygems:rubygems2.0.14
rubygems:rubygems2.0.15
rubygems:rubygems2.2.0
rubygems:rubygems2.2.1
rubygems:rubygems2.2.2
rubygems:rubygems2.2.3
rubygems:rubygems2.4.0
rubygems:rubygems2.4.1
rubygems:rubygems2.4.2
rubygems:rubygems2.4.3
rubygems:rubygems2.4.4
rubygems:rubygems2.4.5
rubygems:rubygems2.4.6
oracle:solaris11.3
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wp3j-rvfp-624hRubyGemsrubygems-update>=2.0.0 <2.0.162.0.16
GHSA-wp3j-rvfp-624hRubyGemsrubygems-update>=2.2.0 <2.2.42.2.4
GHSA-wp3j-rvfp-624hRubyGemsrubygems-update>=2.4.0 <2.4.72.4.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jruby1.7.20.1-2DEBIAN-CVE-2015-3900
Red Hatrhel_software_collections:2::el6rh-ruby22-ruby, rh-ruby22-ruby-doc, rh-ruby22-ruby-irb and 4 more0:2.2.2-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-bigdecimal0:1.2.6-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-io-console0:0.4.3-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-json0:1.8.1-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-minitest0:5.4.3-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-power_assert0:0.2.2-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-psych0:2.0.8-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-rake0:10.4.2-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-rdoc0:4.2.0-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygem-test-unit0:3.0.8-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el6rh-ruby22-rubygems, rh-ruby22-rubygems-devel0:2.4.5-12.el6RHSA-2015:1657
Red Hatrhel_software_collections:2::el7rh-ruby22-ruby, rh-ruby22-ruby-doc, rh-ruby22-ruby-irb and 4 more0:2.2.2-12.el7RHSA-2015:1657
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1 and 6 moreruby2.12.1.9-15.1SUSE-SU-2017:1067-1
openSUSETumbleweedruby2.22.2.5-1.5openSUSE-SU-2024:10481-1
openSUSETumbleweedruby2.32.3.1-1.6openSUSE-SU-2024:10090-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of rubygems as shipped with Red Hat Enterprise Linux 6, Red Hat Enterprise MRG 2.5, Red Hat Satellite 6, Red Hat Openstack 5, Red Hat Openshift Enterprise 2 as they did not include support for getting API endpoint using SRV DNS records.

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6 as they did not include support for getting API endpoint using SRV DNS records. The issue did not affect version of ruby as shipped with Red Hat Enterprise Linux 7, as the support for getting API endpoint using SRV DNS records is included, but inactive.

This issue did not affect the versions of ruby193-ruby as shipped with Red Hat Subscription Asset Manager and Red Hat Software Collections as they did not include support for getting API endpoint using SRV DNS records.

The issue did not affect version of ruby200-ruby as shipped with Red Hat Software Collections, as the support for getting API endpoint using SRV DNS records is included, but inactive.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-ruby22-ruby-0:2.2.2-12.el6Fixed 2015-08-24RHSA-2015:1657
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSrh-ruby22-ruby-0:2.2.2-12.el6Fixed 2015-08-24RHSA-2015:1657
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSrh-ruby22-ruby-0:2.2.2-12.el6Fixed 2015-08-24RHSA-2015:1657
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby22-ruby-0:2.2.2-12.el7Fixed 2015-08-24RHSA-2015:1657
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-ruby22-ruby-0:2.2.2-12.el7Fixed 2015-08-24RHSA-2015:1657
CloudForms Management Engine 5rubygemsNot affected
OpenStack ForemanrubygemsNot affected
Red Hat Enterprise Linux 5rubyNot affected
Red Hat Enterprise Linux 6rubyNot affected
Red Hat Enterprise Linux 6rubygemsNot affected
Red Hat Enterprise Linux 7rubyWill not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)rubygemsNot affected
Red Hat Enterprise MRG 2rubygemsNot affected
Red Hat OpenShift Enterprise 2rubygemsNot affected
Red Hat Satellite 6rubygemsNot affected
Red Hat Software Collectionsruby193-rubyNot affected
Red Hat Software Collectionsruby200-rubyWill not fix
Red Hat Subscription Asset Managerruby193-rubyNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-3900.

References

Check your stackJSON