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."
Remediation
References
Related Vulnerabilities
PHP Other Vulnerability (CVE-2007-1583)
Plone CMS Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-4200)
WordPress Plugin Ninja Popups Multiple Vulnerabilities (4.5.3)
Moodle Improper Input Validation Vulnerability (CVE-2019-3847)
Internet Information Services Other Vulnerability (CVE-2005-2678)