CVE-2015-3900
Summary
| CVE | CVE-2015-3900 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2015-06-24 14:59:01 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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." |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Oracle | Solaris | 11.3 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 6.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 7.0 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.2 | All | All | All |
| Application | Ruby-lang | Ruby | 1.9.3 | All | All | All |
| Application | Ruby-lang | Ruby | 2.0.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1 | - | All | All |
| Application | Ruby-lang | Ruby | 2.1.1 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1.2 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1.3 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1.4 | All | All | All |
| Application | Ruby-lang | Ruby | 2.1.5 | All | All | All |
| Application | Ruby-lang | Ruby | 2.2.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.12 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.13 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.14 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.15 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.6 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] Fedora 21 Update: rubygems-2.2.5-100.fc21 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| oss-security - rubygems <2.4.8 vulnerable to DNS request hijacking (CVE-2015-3900 and CVE-2015-4020) | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Third Party Advisory |
| RubyGems CVE-2015-3900 Security Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| CVE-2015-3900 Request hijacking vulnerability in RubyGems 2.4.6 and earlier | RubyGems.org | af854a3a-2127-422b-91ae-364da2661108 | blog.rubygems.org | Patch, Vendor Advisory |
| [SECURITY] Fedora 23 Update: rubygems-2.4.8-100.fc23 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007 | af854a3a-2127-422b-91ae-364da2661108 | www.trustwave.com | Third Party Advisory |
| CVE-2015-3900, CVE-2015-4020 - Request Hijacking Vulnerability in RubyGems | Puppet | af854a3a-2127-422b-91ae-364da2661108 | puppet.com | |
| Oracle Solaris Third Party Bulletin - October 2015 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Third Party Advisory |
| [SECURITY] Fedora 22 Update: rubygems-2.4.8-100.fc22 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | Third Party Advisory |
| Attacking Ruby Gem Security with CVE-2015-3900 | af854a3a-2127-422b-91ae-364da2661108 | www.trustwave.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.