CVE Vulnerabilities

CVE-2015-3900

Published: Jun 24, 2015 | Modified: Apr 12, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
7.9 IMPORTANT
AV:A/AC:M/Au:N/C:C/I:C/A:C
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Affected Software

NameVendorStart VersionEnd Version
RubyRuby-lang1.9 (including)1.9 (including)
RubyRuby-lang1.9.1 (including)1.9.1 (including)
RubyRuby-lang1.9.2 (including)1.9.2 (including)
RubyRuby-lang1.9.3 (including)1.9.3 (including)
RubyRuby-lang2.0.0 (including)2.0.0 (including)
RubyRuby-lang2.1 (including)2.1 (including)
RubyRuby-lang2.1.1 (including)2.1.1 (including)
RubyRuby-lang2.1.2 (including)2.1.2 (including)
RubyRuby-lang2.1.3 (including)2.1.3 (including)
RubyRuby-lang2.1.4 (including)2.1.4 (including)
RubyRuby-lang2.1.5 (including)2.1.5 (including)
RubyRuby-lang2.2.0 (including)2.2.0 (including)
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-ruby22-ruby-0:2.2.2-12.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSRedHatrh-ruby22-ruby-0:2.2.2-12.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSRedHatrh-ruby22-ruby-0:2.2.2-12.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby22-ruby-0:2.2.2-12.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSRedHatrh-ruby22-ruby-0:2.2.2-12.el7*
Ruby2.1Ubuntuupstream*
Ruby2.1Ubuntuutopic*
Ruby2.1Ubuntuvivid*
Ruby2.2Ubuntuupstream*
RubygemsUbuntuupstream*

References