CVE-2017-0902Reliance on Reverse DNS Resolution for a Security-Critical Action in Rubygems

Severity
8.1HIGHNVD
OSV9.1OSV7.5
EPSS
5.2%
top 10.05%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 31
Latest updateMay 13

Description

RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 2.2 | Impact: 5.9

Affected Packages6 packages

Debianrubygems/rubygems< 3.2.0~rc.1-1+3
NVDrubygems/rubygems2.6.12
CVEListV5hackerone/rubygemsVersions before 2.6.13

Also affects: Debian Linux 8.0, 9.0, Ubuntu Linux 14.04, 16.04, 17.10, Enterprise Linux 7.4, 7.6, 7.5

Patches

🔴Vulnerability Details

7
OSV
RubyGems has Origin Validation Error vulnerability2022-05-13
GHSA
RubyGems has Origin Validation Error vulnerability2022-05-13
OSV
ruby2.0 regression2021-03-25
OSV
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities2018-06-13
OSV
ruby2.3 vulnerabilities2018-01-31

📋Vendor Advisories

5
Ubuntu
Ruby regression2021-03-25
Ubuntu
Ruby vulnerabilities2018-06-13
Ubuntu
Ruby vulnerabilities2018-01-31
Red Hat
rubygems: DNS hijacking vulnerability2017-08-31
Debian
CVE-2017-0902: rubygems - RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerabili...2017

💬Community

3
HackerOne
Request Hijacking Vulnerability in RubyGems 2.6.13 and earlier2018-12-08
Bugzilla
CVE-2017-0899 CVE-2017-0900 CVE-2017-0901 CVE-2017-0902 rubygems: various flaws [fedora-all]2017-09-01
Bugzilla
CVE-2017-0902 rubygems: DNS hijacking vulnerability2017-09-01
CVE-2017-0902 — Rubygems vulnerability | cvebase