CVE-2015-4020 – rubygems-update
Package
Manager: gem
Name: rubygems-update
Vulnerable Version: >=0 <2.0.17 || >=2.1.0.rc.1 <2.2.5 || >=2.3.0 <2.4.8
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00524 pctl0.65999
Details
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.
Metadata
Created: 2022-05-17T00:16:50Z
Modified: 2023-05-04T21:14:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qv62-xfj6-32xm/GHSA-qv62-xfj6-32xm.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-qv62-xfj6-32xm
Finding: F184
Auto approve: 1