Vulnerability in Oracle Solaris
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."
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.089, 95.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Oracle Solaris — versions 11.3
- Rubygems — versions 2.0.0, 2.0.1, 2.0.2
- Ruby-Lang Ruby — versions 1.9, 1.9.1, 1.9.2
- Red Hat Enterprise Linux — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (dcordero/Travis-Issue-7361, SpiderLabs/cve_server). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2015:1657 (vendor-advisory, Third Party Advisory)
- FEDORA-2015-12501 (vendor-advisory)
- FEDORA-2015-12574 (vendor-advisory)
- [oss-security] 20150626 rubygems <2.4.8 vulnerable to DNS request hijacking (CVE-2015-3900 and CVE-2015-4020) (mailing-list, Third Party Advisory)
- www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CV… (Third Party Advisory)
- www.securityfocus.com/bid/75482 (vdb-entry)
- www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/ (Third Party Advisory)
- blog.rubygems.org/2015/05/14/CVE-2015-3900.html (Patch, Vendor Advisory)
- puppet.com/security/cve/CVE-2015-3900
- FEDORA-2015-13157 (vendor-advisory)