PT-2015-6338 · Ruby+2 · Rubygems+2
Jonathan Claudius
·
Published
2015-06-24
·
Updated
2025-09-29
·
CVE-2015-3900
CVSS v2.0
5.0
Medium
| Vector | AV: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.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Rubygems
Suse