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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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

Type Values Removed Values Added
Metrics epss

{'score': 0.01655}

epss

{'score': 0.02408}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

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.