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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.23% (61st percentile)
Expand this section
NVD
6.1 medium
Expand this section
Red Hat
6.1 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-1080916
  • published 2 Mar 2021
  • disclosed 11 Feb 2021
  • credit Tyler Kennedy (TkTech)

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.