CVE-2015-4020
CVSS V2 Medium 4.3
CVSS V3 None
Description
RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.x before 2.4.8 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 with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because to an incomplete fix for CVE-2015-3900.
Overview
- CVE ID
- CVE-2015-4020
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2015-08-25T17:59:01
- Last Modified Date
- 2017-12-09T02:29:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:preview2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:rc1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.0:rc2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.8:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.11:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.12:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.13:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.14:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.15:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.0.16:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.2.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.2.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.2.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.2.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.2.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:rubygems:rubygems:2.4.7:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
References
Reference URL | Reference Tags |
---|---|
http://blog.rubygems.org/2015/06/08/2.2.5-released.html | Vendor Advisory |
http://blog.rubygems.org/2015/06/08/2.4.8-released.html | Vendor Advisory |
https://github.com/rubygems/rubygems/commit/5c7bfb5 | |
https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/ | Third Party Advisory |
https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-009/?fid=6478 | Third Party Advisory |
http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html | Third Party Advisory |
http://www.securityfocus.com/bid/75431 | |
https://puppet.com/security/cve/CVE-2015-3900 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2015-4020 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4020 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 08:09:30 | Added to TrackCVE | |||
2022-12-02 06:08:41 | 2015-08-25T17:59Z | 2015-08-25T17:59:01 | CVE Published Date | updated |
2022-12-02 06:08:41 | 2017-12-09T02:29:04 | CVE Modified Date | updated | |
2022-12-02 06:08:41 | Modified | Vulnerability Status | updated |