CVE-2021-44528
MEDIUM 6.1CVSS 3.1actionpack Open Redirect in Host Authorization Middleware
A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "X-Forwarded-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.
- Published
- 10 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- BIT-rails-2021-44528GHSA-qphc-hf5q-v8fc
- Sources
- NVDJSONOSV GHSA-qphc-hf5q-v8fcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:6.0.4.2:*:*:*:*:*:*:* |
= 6.0.4.2 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:6.1.4.2:*:*:*:*:*:*:* |
= 6.1.4.2 | |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:7.0.0:rc2:*:*:*:*:*:* |
= 7.0.0 | |
| OSV | RubyGems | actionpack | >= 6.0.0, < 6.0.4.2 | 6.0.4.2 |
| OSV | RubyGems | actionpack | >= 6.1.0, < 6.1.4.2 | 6.1.4.2 |
References
- https://github.com/rails/rails/commit/0fccfb9a3097a9c4260c791f1a40b128517e7815 · Patch, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240208-0003/ · WEB
- https://www.debian.org/security/2023/dsa-5372 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-44528 · ADVISORY
- https://github.com/rails/rails/commit/aecba3c301b80e9d5a63c30ea1b287bceaf2c107 · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rails/rails/blob/v6.1.4.2/actionpack/CHANGELOG.md#rails-6142-december-14-2021 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-44528.yml · WEB
- https://groups.google.com/g/ruby-security-ann/c/vG9gz3nk1pM/m/7-NU4MNrDAAJ · WEB
- https://groups.google.com/g/ruby-security-ann/c/vG9gz3nk1pM/m/7-NU4MNrDAAJ?utm_medium=email&utm_source=footer · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Dec 2021)