CVE-2021-22942: Action Pack - Open Redirect
- Cve: CVE-2021-22942
- Name: Action Pack - Open Redirect
- 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.
- Impact: Attackers can redirect users to malicious sites, potentially leading to phishing or malware distribution.
- Remediation: Implement proper URL validation in Host Authorization middleware, update to the latest version of Action Pack.
- Vulnerability type: open_redirect
- Requirement type: user_interaction
- Requirements: Attacker needs to control redirect URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01695
- Epss percentile: 0.77619
- Assignee: [email protected]
- Published at: 2021-10-18T13:15:09Z
- Age in days: 1863
- Modified at: 2026-06-17T03:38:04Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22942
- Nvd status: modified
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-601 | URL Redirection to Untrusted Site |
Hackerone
- Reports: 4
- Rank: 691
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2021/12/14/5 | Mailing List, Patch, Third Party Advisory |
| https://weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/ | Mitigation, Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20240202-0005/ | |
| https://www.debian.org/security/2023/dsa-5372 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyonrails:rails | >= 6.1.0, < 6.1.4.1; >= 6.0.0, < 6.0.4.1 | no | nvd | /v1/products/rubyonrails/rails |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | package | yes | /v1/repositories/rails/rails |
Index
- Repositories: 7
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 4
- Exposed hosts: 2436102
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since