{"cve":"CVE-2021-22885","nvd":{"published":"2021-05-27T12:15:07.797","modified":"2026-06-17T03:37:56.970","status":"Modified","description":"A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-209"],"references":["https://hackerone.com/reports/1106652","https://security.netapp.com/advisory/ntap-20210805-0009/","https://www.debian.org/security/2021/dsa-4929","https://hackerone.com/reports/1106652","https://security.netapp.com/advisory/ntap-20210805-0009/"],"products":["debian:debian_linux","rubyonrails:actionpack_page-caching","rubyonrails:rails"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-22885","score":0.04082,"percentile":0.90713,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hjg4-8q5f-x6fm","url":"https://osv.dev/vulnerability/GHSA-hjg4-8q5f-x6fm","summary":"Action Pack contains Information Disclosure / Unintended Method Execution vulnerability","modified":"2024-02-22T05:32:49.668911Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.0.0 <6.0.3.7"],"fixed":["6.0.3.7"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.1.0 <6.1.3.2"],"fixed":["6.1.3.2"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=5.2.5 <5.2.6"],"fixed":["5.2.6"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=2.0.0 <5.2.4.6"],"fixed":["5.2.4.6"]}]}],"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."]}