CVE-2015-3900
mediumpriority · track · 23EPSS 0.089 · 95 %ileEUUSEPSS · scored 2026-10-27
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."
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (46)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-wp3j-rvfp-624hRubyGems vulnerable to DNS hijack attack2022-05-14ghsa · osvUS
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."
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (33)
External citations — patches, advisories, analysis.
- http://blog.rubygems.org/2015/05/14/CVE-2015-3900.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2015-1657.htmlcnnvd
- http://www.openwall.com/lists/oss-security/2015/06/26/2cnnvd
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlcnnvd
- http://www.securityfocus.com/bid/75482cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan