CVE-2021-22881
Summary
| CVE | CVE-2021-22881 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-02-11 18:15:00 UTC |
| Updated | 2023-11-07 03:30:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| oss-security - [CVE-2021-22903] Possible Open Redirect Vulnerability in Action Pack |
MLIST |
www.openwall.com |
|
| oss-security - [CVE-2021-44528] Possible Open Redirect in Host Authorization Middleware |
MLIST |
www.openwall.com |
|
| [CVE-2021-22881] Possible Open Redirect in Host Authorization Middleware - Security Announcements - Ruby on Rails Discussions |
MISC |
discuss.rubyonrails.org |
Mitigation, Patch, Vendor Advisory |
| HackerOne |
MISC |
hackerone.com |
Exploit, Patch, Third Party Advisory |
| oss-security - [CVE-2021-22942] Possible Open Redirect in Host Authorization Middleware |
MLIST |
www.openwall.com |
|
| [SECURITY] Fedora 33 Update: rubygem-actionpack-6.0.3.4-2.fc33 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [CVE-2021-22881] Faille de sécurité dans le middleware HostAuthorization – Benjamin Bouchet |
MISC |
benjamin-bouchet.com |
Patch, Third Party Advisory |
| [SECURITY] Fedora 33 Update: rubygem-actionpack-6.0.3.4-2.fc33 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 180343 Debian Security Update for rails (CVE-2021-22881)
- 281541 Fedora Security Update for rubygem (FEDORA-2021-b571fca1b8)
- 690374 Free Berkeley Software Distribution (FreeBSD) Security Update for rails (8e670b85-706e-11eb-abb2-08002728f74c)