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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.18% (55th percentile)
Expand this section
NVD
6.1 medium
Expand this section
Red Hat
5.4 medium

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 ID SNYK-RUBY-ACTIONPACK-2320175
  • published 15 Dec 2021
  • disclosed 14 Dec 2021
  • credit Unknown

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.