Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

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 3.x Severity and Vector Strings:

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.

URLSource(s)Tag(s)
https://benjamin-bouchet.com/cve-2021-22881-faille-de-securite-dans-le-middleware-hostauthorization/ CVEPatchThird Party Advisory
https://discuss.rubyonrails.org/t/cve-2021-22881-possible-open-redirect-in-host-authorization-middleware/77130 CVEMitigationPatchVendor Advisory
https://hackerone.com/reports/1047447 CVEExploitPatchThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3NS4IBYE2I3MVMGAHFZBZBIZGHXHT3/ CVE
http://www.openwall.com/lists/oss-security/2021/05/05/2 CVEMailing ListMitigationThird Party Advisory

see all 14 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]

Affected Products

ProductVersions
rubyonrails rails
>= 6.0.0, < 6.0.3.5
>= 6.1.0, < 6.1.2.1

CPE

  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
33

CPE

  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

13 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-22881
NVD Published Date:
Feb 11, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-22881 Details - Not Deferred