Medium severity · published Oct 18, 2021
CVE-2021-22942
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
6.1
CVSS
1.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 77% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Rails · Rubyonrails
6.0.0 before 6.0.4.1; 6.1.0 before 6.1.4.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-22942
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-22942
Mailing List
http://www.openwall.com/lists/oss-security/2021/12/14/5
security.netapp.com
https://security.netapp.com/advisory/ntap-20240202-0005/
Mitigation
https://weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/
www.debian.org
https://www.debian.org/security/2023/dsa-5372
More from Rails
7.5
CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
7.5
CVE-2016-0752
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows…
7.5
CVE-2014-0130
Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x…
9.8
CVE-2026-33195
Rails Active Storage has possible Path Traversal in DiskService
9.8
CVE-2024-28103
Action Pack is a framework for handling and responding to web requests
