GitHub Advisoryadvisory · RubyGems
GHSA-wp3j-rvfp-624h RubyGems vulnerable to DNS hijack attack
HIGH
Official page ↗
- Aliases
- CVE-2015-3900
- Ecosystem
- RubyGems
- Packages
- rubygems-update
- Severity
- High
- Weaknesses
- CWE-350
- Reviewed
- 2023-03-10
Affected packages
• RubyGems rubygems-update: >= 2.0.0, < 2.0.16 → fixed in 2.0.16
• RubyGems rubygems-update: >= 2.2.0, < 2.2.4 → fixed in 2.2.4
• RubyGems rubygems-update: >= 2.4.0, < 2.4.7 → fixed in 2.4.7
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."
Related
Alias · CVE (1)
- CVE-2015-3900 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… vulnerability
Weakness · CWE (1)
- CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3900 advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2015-3900.yml web
- https://puppet.com/security/cve/CVE-2015-3900 web
- https://web.archive.org/web/20170331091241/https://puppet.com/security/cve/CVE-2015-3900 web
- https://web.archive.org/web/20200228055155/http://www.securityfocus.com/bid/75482 web
- https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356 web
- https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900 web
- http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html web
- http://rhn.redhat.com/errata/RHSA-2015-1657.html web
- http://www.openwall.com/lists/oss-security/2015/06/26/2 web
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html web