{"cve":"CVE-2021-22942","nvd":{"published":"2021-10-18T13:15:09.323","modified":"2026-06-17T03:38:04.503","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["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/","https://www.debian.org/security/2023/dsa-5372","http://www.openwall.com/lists/oss-security/2021/12/14/5"],"products":["rubyonrails:rails"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-22942","score":0.01695,"percentile":0.77136,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2rqw-v265-jf8c","url":"https://osv.dev/vulnerability/GHSA-2rqw-v265-jf8c","summary":"Open Redirect in ActionPack","modified":"2024-02-21T05:31:33.873268Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.0.0 <6.0.4.1"],"fixed":["6.0.4.1"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.1.0 <6.1.4.1"],"fixed":["6.1.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}