CVE-2015-3900 in Oracle Solaris and 3 more products
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."
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Oracle | Solaris | 11.3 |
| Redhat | Enterprise Linux | 6.0 7.0 |
| Ruby-Lang | Ruby | 1.9 1.9.1 1.9.2 1.9.3 2.0.0 2.1+6 more2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 |
| Rubygems | Rubygems | 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5+21 more2.0.6 2.0.7 2.0.8 2.0.9 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.2.0 2.2.1 2.2.2 2.2.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-3900 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-246181-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2015-06-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-254: CWE-254
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Oracle systems (CVE-2015-3900). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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." CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2015-3900?
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Oracle systems (CVE-2015-3900). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-3900?
CVE-2015-3900 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 9.2%.
Is CVE-2015-3900 actively exploited?
No confirmed active exploitation of CVE-2015-3900 as of 2026-09-25.
How do I remediate CVE-2015-3900?
Priority: MONITOR. Advisory: http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html PSIRT: [email protected]
What systems are affected by CVE-2015-3900?
CVE-2015-3900 affects Oracle Solaris; Redhat Enterprise Linux; Ruby-Lang Ruby; Rubygems Rubygems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Solaris","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.