Description
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."
Published: 2015-06-24
Score: 5.0 Medium
EPSS: 2.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-5611 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."
Github GHSA Github GHSA GHSA-wp3j-rvfp-624h RubyGems vulnerable to DNS hijack attack
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01655}

epss

{'score': 0.02408}


Subscriptions

Oracle Solaris
Redhat Enterprise Linux Rhel Software Collections
Ruby-lang Ruby
Rubygems Rubygems
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T05:56:16.332Z

Reserved: 2015-05-12T00:00:00.000Z

Link: CVE-2015-3900

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2015-06-24T14:59:01.190

Modified: 2025-04-12T10:46:40.837

Link: CVE-2015-3900

cve-icon Redhat

Severity : Important

Publid Date: 2015-05-14T00:00:00Z

Links: CVE-2015-3900 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses