Open Redirect in Rubyonrails Rails
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.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.017 (76.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Rubyonrails Rails
- Https://github.com/rails/rails — versions 6.1.4.1, 6.0.4.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/ (Mitigation, Vendor Advisory)
- www.openwall.com/lists/oss-security/2021/12/14/5 (mailing-list, Patch, Mailing List, Third Party Advisory)
- www.debian.org/security/2023/dsa-5372 (vendor-advisory)
- security.netapp.com/advisory/ntap-20240202-0005/
Frequently asked questions
- What is CVE-2021-22942?
- CVE-2021-22942 is a medium-severity vulnerability in Rubyonrails Rails, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2021-10-18.
- How severe is CVE-2021-22942?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2021-22942 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.