Lucene search

K
osvGoogleOSV:GHSA-QV62-XFJ6-32XM
HistoryMay 17, 2022 - 12:16 a.m.

RubyGems Improper Input Validation vulnerability

2022-05-1700:16:50
Google
osv.dev
7

0.008 Low

EPSS

Percentile

82.2%

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.