# CVE-2021-22885

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-05-27 · Modified: 2024-08-03
- Aliases: SUSE-SU-2021:1650-1, SUSE-SU-2021:1759-1, UBUNTU-CVE-2021-22885, DEBIAN-CVE-2021-22885, openSUSE-SU-2021:0797-1, openSUSE-SU-2021:1759-1, GHSA-hjg4-8q5f-x6fm
- Record: https://cvemate.com/vulnerability/CVE-2021-22885 · JSON: https://cvemate.com/vulnerability/CVE-2021-22885/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 4.05%, percentile 90.936%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian rails (Debian): \< 2:6.0.3.7+dfsg-1
- ubuntu rails (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 10.0
- RubyGems actionpack (RubyGems): ≥ 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
- opensuse rubygem-actionpack-5\_1&distro=openSUSE Leap 15.2 (openSUSE): \< 5.1.4-lp152.5.6.1
- opensuse rubygem-actionpack-5\_1&distro=openSUSE Leap 15.3 (openSUSE): \< 5.1.4-3.9.1
- suse rubygem-actionpack-4\_2&distro=SUSE OpenStack Cloud 7 (SUSE Linux Enterprise): \< 4.2.9-7.12.1
- suse rubygem-actionpack-4\_2&distro=SUSE OpenStack Cloud Crowbar 8 (SUSE Linux Enterprise): \< 4.2.9-7.12.1
- suse rubygem-actionpack-4\_2&distro=SUSE OpenStack Cloud Crowbar 9 (SUSE Linux Enterprise): \< 4.2.9-7.12.1
- suse rubygem-actionpack-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 (SUSE Linux Enterprise): \< 5.1.4-3.9.1
- suse rubygem-actionpack-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1 (SUSE Linux Enterprise): \< 5.1.4-3.9.1
- suse rubygem-actionpack-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2 (SUSE Linux Enterprise): \< 5.1.4-3.9.1
- suse rubygem-actionpack-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3 (SUSE Linux Enterprise): \< 5.1.4-3.9.1
- rubyonrails actionpack\_page-caching: na
- rubyonrails rails: ≥ 5.2.0.0, \< 5.2.4.6 \| ≥ 6.0.0.0, \< 6.0.3.7 \| ≥ 6.1.0.0, \< 6.1.3.1

## References

- <https://hackerone.com/reports/1106652>
- <https://www.debian.org/security/2021/dsa-4929>
- <https://security.netapp.com/advisory/ntap-20210805-0009/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211650-1/>
- <https://bugzilla.suse.com/1185715>
- <https://www.suse.com/security/cve/CVE-2021-22885>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211759-1/>
- <https://ubuntu.com/security/CVE-2021-22885>
- <https://github.com/rails/rails/commit/c4c21a9f8d7c9c8ca6570bdb82d64e2dc860e62c>
- <https://github.com/rails/rails/commit/f202249bdd701f908a57d733e633d366a982f8ce>
- <https://github.com/rails/rails/commit/3eb9e74c287750a9fe11f700fc96d3be1e83aa35>
- <https://www.cve.org/CVERecord?id=CVE-2021-22885>
- <https://security-tracker.debian.org/tracker/CVE-2021-22885>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/AHCB7JMW3HFGNRHZXPJUK7TS6FSJM2AA/>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XD33DNJH2JNZCIIOPYYFAACZRFEZSRKI/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22885>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22885.yml>
- <https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYI>
- <https://security.netapp.com/advisory/ntap-20210805-0009>

---

Data as of 2026-12-05T10:57:05.416Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
