Lucene search

K
githubGitHub Advisory DatabaseGHSA-WP3J-RVFP-624H
HistoryMay 14, 2022 - 1:08 a.m.

RubyGems vulnerable to DNS hijack attack

2022-05-1401:08:49
CWE-350
GitHub Advisory Database
github.com
9

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.16, 2.2.x before 2.2.4, and 2.4.x before 2.4.7 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, aka a “DNS hijack attack.”

Affected configurations

Vulners
Node
rubygemsrubygemsRange<2.4.7
OR
rubygemsrubygemsRange<2.2.4
OR
rubygemsrubygemsRange<2.0.16

References

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%