CVE-2015-4020

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.

Risk Information

Base Score
8.2
MODERATE
Vector
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS Score
Exploitation Probability
0.524

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update 2.0.17Windows
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update 2.2.5Windows
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update 2.4.8Windows
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update for Linux 2.0.17Linux
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update for Linux 2.2.5Linux
Vulnerabilities CVE-2015-4020 are fixed in Ruby-rubygems-update for Linux 2.4.8Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234