CVE-2021-22885
HIGH 7.5CVSS 3.1Action Pack contains Information Disclosure / Unintended Method Execution vulnerability
A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the redirect_to or polymorphic_urlhelper with untrusted user input.
- Published
- 27 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-209
- Also known as
- GHSA-hjg4-8q5f-x6fm
- Sources
- NVDJSONOSV GHSA-hjg4-8q5f-x6fmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 5.2.0.0, < 5.2.4.6 | 5.2.4.6 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.0.0.0, < 6.0.3.7 | 6.0.3.7 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.1.0.0, < 6.1.3.1 | 6.1.3.1 |
| NVD | rubyonrails | actionpack_page-cachingcpe:2.3:a:rubyonrails:actionpack_page-caching:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | actionpack | >= 6.0.0, < 6.0.3.7 | 6.0.3.7 |
| OSV | RubyGems | actionpack | >= 6.1.0, < 6.1.3.2 | 6.1.3.2 |
| OSV | RubyGems | actionpack | >= 5.2.5, < 5.2.6 | 5.2.6 |
| OSV | RubyGems | actionpack | >= 2.0.0, < 5.2.4.6 | 5.2.4.6 |
References
- https://hackerone.com/reports/1106652 · Exploit, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210805-0009/ · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4929 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-22885 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22885.yml · WEB
- https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYI · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 May 2021)