National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2015-3900 Detail

Current 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:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html Patch Vendor Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html
http://rhn.redhat.com/errata/RHSA-2015-1657.html Third Party Advisory
http://www.openwall.com/lists/oss-security/2015/06/26/2 Third Party Advisory
http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html Third Party Advisory
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 Third Party Advisory
https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/ Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-254 7PK - Security Features NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.15:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.6:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

13 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2015-3900
NVD Published Date:
06/24/2015
NVD Last Modified:
04/22/2019