{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22885","id":"CVE-2021-22885","title":"Action Pack contains Information Disclosure / Unintended Method Execution vulnerability","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.","descriptionLong":"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.","published":"2021-05-27T11:15:32.000Z","updated":"2026-10-24T10:30:20.632038737Z","reserved":"2021-01-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["https://github.com/rails/rails"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/rails/rails","defaultStatus":null,"versions":[{"status":"affected","version":"6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=6.0.0 <6.0.3.7",">=6.1.0 <6.1.3.2",">=5.2.5 <5.2.6",">=2.0.0 <5.2.4.6"],"fixed":["6.0.3.7","6.1.3.2","5.2.6","5.2.4.6"],"advisory":"GHSA-hjg4-8q5f-x6fm"}],"cwes":["CWE-209","CWE-200"],"aliases":["GHSA-hjg4-8q5f-x6fm"],"references":[{"url":"https://hackerone.com/reports/1106652","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.debian.org/security/2021/dsa-4929","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0009/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22885","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22885.yml","tags":["web"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYI","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0009","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0405,"epssPercentile":0.90853,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22885","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22885","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hjg4-8q5f-x6fm","ok":true,"note":"GHSA-hjg4-8q5f-x6fm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}