CVEfocus › CVE database › CVE-2015-3900

CVE-2015-3900

EPSS 8.9% (higher than 95% of CVEs)Published 2015-06-24Updated 2024-08-06Assigner: mitre

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."

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
15Will not fix
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04ruby1.9.1Not affected
vulnerable_code_not_present
Debian 14jrubyFixed1.7.20.1-2DEBIAN-CVE-2015-3900
Debian 13jrubyFixed1.7.20.1-2DEBIAN-CVE-2015-3900
Debian 12jrubyFixed1.7.20.1-2DEBIAN-CVE-2015-3900
Red Hat Enterprise Linux 7rubyWill not fix
Will not fix
Red Hat Enterprise Linux 7ruby-develWill not fix
Will not fix
Red Hat Enterprise Linux 7ruby-docWill not fix
Will not fix
Red Hat Enterprise Linux 7ruby-irbWill not fix
Will not fix
Red Hat Enterprise Linux 7ruby-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7ruby-tcltkWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-bigdecimalWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-io-consoleWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-minitestWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-psychWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-rakeWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygem-rdocWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygemsWill not fix
Will not fix
Red Hat Enterprise Linux 7rubygems-develWill not fix
Will not fix
Red Hat Enterprise Linux 6rubyNot affected
Red Hat Enterprise Linux 6ruby-develNot affected
Red Hat Enterprise Linux 6ruby-docsNot affected
Red Hat Enterprise Linux 6ruby-irbNot affected
Red Hat Enterprise Linux 6ruby-libsNot affected
Red Hat Enterprise Linux 6ruby-rdocNot affected
Red Hat Enterprise Linux 6ruby-riNot affected
Red Hat Enterprise Linux 6ruby-staticNot affected
Red Hat Enterprise Linux 6ruby-tcltkNot affected
Red Hat Enterprise Linux 6rubygemsNot affected
Red Hat Enterprise Linux 5rubyNot affected
RubyGems libraryrubygems-updateFixed2.4.7GHSA-wp3j-rvfp-624h

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.