Open Redirect in Rubyonrails Rails
CVE-2021-22881
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 midd…
Vulnerability class: Open Redirect
EPSS: 0.873 (99.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Rubyonrails Rails
- Fedoraproject Fedora — versions 33
- N/a Https://github.com/rails/rails — versions Fixed in 6.1.2.1, 6.0.3.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support@hackerone.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- support@hackerone.com (Patch, x_refsource_MISC, Mitigation, Vendor Advisory)
- support@hackerone.com (Patch, Third Party Advisory, x_refsource_MISC)
- support@hackerone.com (x_refsource_FEDORA, vendor-advisory)
- support@hackerone.com (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory, Mitigation)
- support@hackerone.com (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory, Mitigation)
- support@hackerone.com (mailing-list, x_refsource_MLIST, Exploit, Patch, Mailing List)
Frequently asked questions
- What is CVE-2021-22881?
- CVE-2021-22881 is a medium-severity vulnerability in Rubyonrails Rails, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2021-02-11.
- How severe is CVE-2021-22881?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2021-22881 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.