CVE-2015-4020

UnknownEPSS 3.46%

Last modified

CVE-2015-4020 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.46% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
3.46%

87.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OracleSolaris11.3
RubygemsRubygems2.0.0
RubygemsRubygems2.0.1
RubygemsRubygems2.0.2
RubygemsRubygems2.0.3
RubygemsRubygems2.0.4
RubygemsRubygems2.0.5
RubygemsRubygems2.0.6
RubygemsRubygems2.0.7
RubygemsRubygems2.0.8
RubygemsRubygems2.0.9
RubygemsRubygems2.0.10
RubygemsRubygems2.0.11
RubygemsRubygems2.0.12
RubygemsRubygems2.0.13
RubygemsRubygems2.0.14
RubygemsRubygems2.0.15
RubygemsRubygems2.0.16
RubygemsRubygems2.2.0
RubygemsRubygems2.2.1
RubygemsRubygems2.2.2
RubygemsRubygems2.2.3
RubygemsRubygems2.2.4
RubygemsRubygems2.4.0
RubygemsRubygems2.4.1
RubygemsRubygems2.4.2
RubygemsRubygems2.4.3
RubygemsRubygems2.4.4
RubygemsRubygems2.4.5
RubygemsRubygems2.4.6
RubygemsRubygems2.4.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2015-4020?
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.
How severe is CVE-2015-4020?
Severity scoring for CVE-2015-4020 is pending analysis. The EPSS model estimates a 3.46% probability of exploitation in the next 30 days.
How do I fix CVE-2015-4020?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2015-4020?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST