Improper Input Validation The advisory has been revoked - it doesn't affect any version of package ruby1.8  (opens in a new tab)


Threat Intelligence

EPSS
3.46% (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-UBUNTU1204-RUBY18-626476
  • published10 Sept 2020
  • disclosed25 Aug 2015

Introduced: 25 Aug 2015

CVE-2015-4020  (opens in a new tab)
CWE-20  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:12.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby1.8 package and not the ruby1.8 package as distributed by Ubuntu.

RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.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 to an incomplete fix for CVE-2015-3900.