CVE-2021-22942
publishedrubygem-actionpack: possible open redirect in the Host Authorization middleware
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/rails6.1.4.1, 6.0.4.1 | 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 possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers 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.1, 6.0.4.1 (affected) | hackerone · cna |
Weaknesses
1- CWE-601 Open Redirect (CWE-601)
References
4- [oss-security] 20211214 [CVE-2021-44528] Possible Open Redirect in Host Authorization Middleware http://www.openwall.com/lists/oss-security/2021/12/14/5
- https://security.netapp.com/advisory/ntap-20240202-0005/
- https://weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/
- 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
- 919457475f9ddf0f581ee90db955930367084b23b50e64000df47a2cb4f97151
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record