Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xdjYyLXhmajYtMzJ4bc4AAYCz

RubyGems Improper Input Validation vulnerability

RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.3.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 of an incomplete fix for CVE-2015-3900.

Permalink: https://github.com/advisories/GHSA-qv62-xfj6-32xm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xdjYyLXhmajYtMzJ4bc4AAYCz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: 12 months ago


Identifiers: GHSA-qv62-xfj6-32xm, CVE-2015-4020
References: Repository: https://github.com/rubygems/rubygems
Blast Radius: 0.0

Affected Packages

rubygems:rubygems-update
Dependent packages: 16
Dependent repositories: 114
Downloads: 530,017,451 total
Affected Version Ranges: >= 2.3.0, < 2.4.8, >= 2.1.0.rc.1, < 2.2.5, < 2.0.17
Fixed in: 2.4.8, 2.2.5, 2.0.17
All affected versions: 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.8, 0.8.10, 0.8.11, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.2, 1.5.3, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.8.10, 1.8.11, 1.8.12, 1.8.13, 1.8.14, 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