Vulnerabilities · 2015 · Oracle
CVE-2015-4020
Oracle Solaris vulnerability
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.
Affected products
Solaris, Rubygems. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Oracle Solaris runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.rubygems.org/2015/06/08/2.2.5-released.html · Vendor Advisory
- blog.rubygems.org/2015/06/08/2.4.8-released.html · Vendor Advisory
- www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html · Third Party Advisory
- www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-009/?fid=6478 · Third Party Advisory
- www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900 · Third Party Advisory
- www.securityfocus.com/bid/75431
- github.com/rubygems/rubygems/commit/5c7bfb5
- puppet.com/security/cve/CVE-2015-3900
- nvd.nist.gov/vuln/detail/CVE-2015-4020
- cve.org/CVERecord?id=CVE-2015-4020
More vulnerabilities in Oracle products
CVE-2026-46971CVE-2026-46950CVE-2026-46949CVE-2026-46947CVE-2026-46946CVE-2026-46945CVE-2026-46944CVE-2026-46935All 9,980
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.