Skip to main content
← All vulnerabilities
CVE-2015-3900GHSA-WP3J-RVFP-624H

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 req

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.16, 2.2.4, 2.4.7
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • rubygems-updateRubyGems

    From 2.0.0 · fixed in 2.0.16

  • rubygems-updateRubyGems

    From 2.2.0 · fixed in 2.2.4

  • rubygems-updateRubyGems

    From 2.4.0 · fixed in 2.4.7

References 11

rhn.redhat.com

lists.fedoraproject.org

openwall.com

trustwave.com

securityfocus.com

blog.rubygems.org

puppet.com

oracle.com