CVE-2021-44528
publishedrubygem-actionpack: specially crafted "X-Forwarded-Host" headers may lead to open redirect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/rails6.1.4.2, 6.0.4.2, 7.0.0.rc2 | Affected | Not stated | hackerone |
| Debian | bullseye | rails | Advisory build | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0ppc64le | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0s390x | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0x86_64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/rails/rails | 6.1.4.2, 6.0.4.2, 7.0.0.rc2 (affected) | hackerone · cna |
Weaknesses
1- CWE-601 Open Redirect (CWE-601)
References
3- https://github.com/rails/rails/commit/0fccfb9a3097a9c4260c791f1a40b128517e7815
- https://security.netapp.com/advisory/ntap-20240208-0003/
- DSA-5372 https://www.debian.org/security/2023/dsa-5372
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b9e75ce37e0991711893d06a8d78f069c67ce1f5e8cf50485abad65b542aceaf
- Ingested
- 23 Sep 2026, 07:56:43 UTC
- Source record
- Official CVE record