← Back

CVE-2021-22881

Published: Feb 11, 2021Modified: Jun 17, 2026

JSON object

Loading...
6.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.8 / Impact: 2.7
Source: NVD

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.

Affected (3)

1 product
Rails
1 product
Fedora
Configuration A
2 vulnerable
Vulnerable SoftwareAffected Versions
Rubyonrails
From 6.0.0 to 6.0.3.5
From 6.1.0 to 6.1.2.1
Configuration B
1 vulnerable
Vulnerable SoftwareAffected Versions
Version 33

References (14)

Source: support@hackerone.com
Mailing ListMitigationThird Party Advisory
Source: support@hackerone.com
Mailing ListMitigationThird Party Advisory
Source: support@hackerone.com
ExploitMailing ListPatch
Source: support@hackerone.com
ExploitPatchThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListMitigationThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListMitigationThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitMailing ListPatch
Source: af854a3a-2127-422b-91ae-364da2661108
PatchThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
MitigationPatchVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitPatchThird Party Advisory

Timeline

No history available yet.