CVE-2015-3900
publishedrubygems: DNS hijacking vulnerability in api_endpoint()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubysrc | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| SUSE / openSUSE | SLE-12-SP1 | libruby2_1-2_1ppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubyx86_64 | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-debuginfox86_64 | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-develx86_64 | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-docnoarch | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-irbnoarch | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-libsx86_64 | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-tcltkx86_64 | Advisory build | 2.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-bigdecimalx86_64 | Advisory build | 1.2.6-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-io-consolex86_64 | Advisory build | 0.4.3-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-jsonx86_64 | Advisory build | 1.8.1-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-minitestnoarch | Advisory build | 5.4.3-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-power_assertnoarch | Advisory build | 0.2.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-psychx86_64 | Advisory build | 2.0.8-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-rakenoarch | Advisory build | 10.4.2-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-rdocnoarch | Advisory build | 4.2.0-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-test-unitnoarch | Advisory build | 3.0.8-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygemsx86_64 | Advisory build | 2.4.5-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygems-develnoarch | Advisory build | 2.4.5-12.el6 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubysrc | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubyx86_64 | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-debuginfox86_64 | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-develx86_64 | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-docnoarch | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-irbnoarch | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-libsx86_64 | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-ruby-tcltkx86_64 | Advisory build | 2.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-bigdecimalx86_64 | Advisory build | 1.2.6-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-io-consolex86_64 | Advisory build | 0.4.3-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-jsonx86_64 | Advisory build | 1.8.1-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-minitestnoarch | Advisory build | 5.4.3-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-power_assertnoarch | Advisory build | 0.2.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-psychx86_64 | Advisory build | 2.0.8-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-rakenoarch | Advisory build | 10.4.2-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-rdocnoarch | Advisory build | 4.2.0-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygem-test-unitnoarch | Advisory build | 3.0.8-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygemsx86_64 | Advisory build | 2.4.5-12.el7 | RHSA-2015:1657 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ruby22-rubygems-develnoarch | Advisory build | 2.4.5-12.el7 | RHSA-2015:1657 |
| SUSE / openSUSE | SLE-12-SP1 | libruby2_1-2_1s390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | libruby2_1-2_1x86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1ppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1s390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1x86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-develppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-devels390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-develx86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-stdlibppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-stdlibs390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP1 | ruby2.1-stdlibx86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | libruby2_1-2_1aarch64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | libruby2_1-2_1ppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | libruby2_1-2_1s390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | libruby2_1-2_1x86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1aarch64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1ppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1s390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1x86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-develaarch64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-develppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-devels390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-develx86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-stdlibaarch64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-stdlibppc64le | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-stdlibs390x | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | SLE-12-SP2 | ruby2.1-stdlibx86_64 | Advisory build | 2.1.9-15.1 | SUSE-SU-2017:1067-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_2-2_2aarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_2-2_2ppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_2-2_2s390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_2-2_2x86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_3-2_3aarch64 | Advisory build | 2.3.1-1.6 | OPENSUSE-SU-2024:10090-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_3-2_3ppc64le | Advisory build | 2.3.1-1.6 | OPENSUSE-SU-2024:10090-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_3-2_3s390x | Advisory build | 2.3.1-1.6 | OPENSUSE-SU-2024:10090-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby2_3-2_3x86_64 | Advisory build | 2.3.1-1.6 | OPENSUSE-SU-2024:10090-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2aarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2ppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2s390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2x86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-develaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-develppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-devels390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-develx86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-devel-extraaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-devel-extrappc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-devel-extras390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-devel-extrax86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-docaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-docppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-docs390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-docx86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-doc-riaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-doc-rippc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-doc-ris390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-doc-rix86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-stdlibaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-stdlibppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-stdlibs390x | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-stdlibx86_64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-tkaarch64 | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-tkppc64le | Advisory build | 2.2.5-1.5 | OPENSUSE-SU-2024:10481-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
11- http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html
- FEDORA-2015-12501 http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html
- FEDORA-2015-12574 http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html
- FEDORA-2015-13157 http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html
- RHSA-2015:1657 http://rhn.redhat.com/errata/RHSA-2015-1657.html
- [oss-security] 20150626 rubygems <2.4.8 vulnerable to DNS request hijacking (CVE-2015-3900 and CVE-2015-4020) http://www.openwall.com/lists/oss-security/2015/06/26/2
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- 75482 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/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 060989f4f7d8f9a0867574daf5e890702d397827cf0fbb0eaaed5e0c0db282d1
- Ingested
- 23 Sep 2026, 07:40:37 UTC
- Source record
- Official CVE record