Lucene search

K
githubGitHub Advisory DatabaseGHSA-QV62-XFJ6-32XM
HistoryMay 17, 2022 - 12:16 a.m.

RubyGems Improper Input Validation vulnerability

2022-05-1700:16:50
CWE-20
GitHub Advisory Database
github.com
8

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

0.008 Low

EPSS

Percentile

82.3%

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.

Affected configurations

Vulners
Node
rubygemsrubygemsRange<2.4.8
OR
rubygemsrubygemsRange<2.2.5
OR
rubygemsrubygemsRange<2.0.17

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

0.008 Low

EPSS

Percentile

82.3%