Back to search
CVE-2015-4020
Published: Aug 25, 2015
Modified: Aug 6, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
http://blog.rubygems.org/2015/06/08/2.2.5-released.html
x_refsource_CONFIRM
75431
vdb-entry
x_refsource_BID
http://blog.rubygems.org/2015/06/08/2.4.8-released.html
x_refsource_CONFIRM
https://github.com/rubygems/rubygems/commit/5c7bfb5
x_refsource_CONFIRM
https://puppet.com/security/cve/CVE-2015-3900
x_refsource_CONFIRM
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now