Security Features Affecting ruby package, versions [,2.0.16)[2.2.0, 2.2.4)[2.4.0, 2.4.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.58% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RUBY-2370176
  • published26 Jan 2022
  • disclosed24 Jun 2015
  • creditUnknown

Introduced: 24 Jun 2015

CVE-2015-3900  (opens in a new tab)
CWE-254  (opens in a new tab)

How to fix?

Upgrade ruby to version 2.0.16, 2.2.4, 2.4.7 or higher.

Overview

Affected versions of this package are vulnerable to Security Features. 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."

References

CVSS Scores

version 3.1