CVE-2015-4020

rubygems: incomplete fix for CVE-2015-3900

Published Aug 25, 2015 CVSS 2.0 · 4.3 Medium EPSS 3.5% KEV · Not listed
Description
RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.x before 2.4.8 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 with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because to an incomplete fix for CVE-2015-3900.

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-5031 RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.x before 2.4.8 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 with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because to an incomplete fix for CVE-2015-3900.
Github GHSA Github GHSA GHSA-qv62-xfj6-32xm RubyGems Improper Input Validation vulnerability
History

No history.

Weaknesses

Sources

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