PT-2015-6338
CVE-2015-3900
·
Published
2015-06-24
·
Updated
2025-09-29
Description by
CVSS 2.0
5.0
MediumMetricsAV:N/AC:L/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions
RubyGems versions 2.0.x through 2.0.16
RubyGems versions 2.2.x through 2.2.4
RubyGems versions 2.4.x through 2.4.7
Description
The issue allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record, which is referred to as a "DNS hijack attack." This occurs because the hostname is not validated when fetching gems or making API requests.
Recommendations
For RubyGems versions 2.0.x through 2.0.16, update to version 2.0.16 or later.
For RubyGems versions 2.2.x through 2.2.4, update to version 2.2.4 or later.
For RubyGems versions 2.4.x through 2.4.7, update to version 2.4.7 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾