Open Redirect The advisory has been revoked - it doesn't affect any version of package rails  (opens in a new tab)


Threat Intelligence

EPSS
0.29% (70th 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 Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RAILS-1071902
  • published11 Feb 2021
  • disclosed11 Feb 2021
  • creditTyler Kennedy (TkTech)

Introduced: 11 Feb 2021

CVE-2021-22881  (opens in a new tab)
CWE-601  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

rails is an opensource MVC web framework.

Affected versions of this package are vulnerable to Open Redirect. Specially crafted Host headers in combination with certain allowed host formats can cause the Host Authorization middleware in ActionPack to redirect users to a malicious website. When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.

NOTE: This advisory was altered as the actual vulnerability is in the actionpack module, which is a dependency of rails.