Open Redirect Affecting actionpack package, versions >=6.0.0, <6.0.4.2>=6.1.0, <6.1.4.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.22% (61st 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-2320175
  • published15 Dec 2021
  • disclosed14 Dec 2021
  • creditUnknown

Introduced: 14 Dec 2021

CVE-2021-44528  (opens in a new tab)
CWE-601  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade actionpack to version 6.0.4.2, 6.1.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect through the X-Forwarded-Host header. If the value of the header is prefixed with a invalid domain character (for example a /), it is always accepted as the actual host of that request. Since this host is used for all url helpers, an attacker could change generated links and redirects.

CVSS Scores

version 3.1