Open Redirect Affecting actionpack package, versions >=6.0.0, <6.0.3.5>=6.1.0.rc1, <6.1.2.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.26% (67th 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-ACTIONPACK-1080916
  • published2 Mar 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)

How to fix?

Upgrade actionpack to version 6.0.3.5, 6.1.2.1 or higher.

Overview

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.

CVSS Scores

version 3.1