CVE-2021-22881 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rubyonrails rails | >= 6.0.0, < 6.0.3.5 >= 6.1.0, < 6.1.2.1 |
CPE
Remediation
| |
| fedoraproject fedora | 33 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Jan 4, 2022 | Modified Analysis | [email protected] |
| Dec 14, 2021 | CVE Modified | [email protected] |
| Sep 21, 2021 | Modified Analysis | [email protected] |
| Aug 20, 2021 | CVE Modified | [email protected] |
| May 6, 2021 | CVE Modified | [email protected] |
| Mar 23, 2021 | Modified Analysis | [email protected] |
| Mar 12, 2021 | CVE Modified | [email protected] |
| Feb 17, 2021 | Initial Analysis | [email protected] |
| Feb 12, 2021 | CVE Modified | [email protected] |