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


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
87.3% (100th 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 IDSNYK-RHEL10-RUBYGEMACTIONPACK-9889479
  • published28 Apr 2025
  • disclosed11 Feb 2021

Introduced: 11 Feb 2021

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

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-actionpack package and not the rubygem-actionpack package as distributed by RHEL.

The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability. Specially crafted Host headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website. Impacted applications will have allowed hosts with a leading dot. When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.