CVE-2015-3900

rubygems: DNS hijacking vulnerability in api_endpoint()

Published Jun 24, 2015 CVSS 2.0 · 5.0 Medium EPSS 8.9% KEV · Not listed
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."

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics epss

{'score': 0.01655}

epss

{'score': 0.02408}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 5:56 AM
Reserved
May 12, 2015, 12:00 AM
Status
Modified
Published
Jun 24, 2015, 2:59 PM
Modified
Jun 17, 2026, 12:26 AM
Severity
Important
Public date
May 14, 2015, 12:00 AM