CVE-2021-22885
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-22885
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-22885.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.2.2-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 2:6.0.3.7+dfsg-1 |
| debian | bullseye | fixed | 2:6.0.3.7+dfsg-1 |
| debian | forky | fixed | 2:6.0.3.7+dfsg-1 |
| debian | sid | fixed | 2:6.0.3.7+dfsg-1 |
| debian | trixie | fixed | 2:6.0.3.7+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | !< 2.0.0||<~> 5.2.4.6 | ~> 5.2.4.6 |
| RubyGems | actionpack | >=6.0.0,<6.0.3.7 | 6.0.3.7 |
| RubyGems | actionpack | >=6.1.0,<6.1.3.2 | 6.1.3.2 |
| RubyGems | actionpack | >=5.2.5,<5.2.6 | 5.2.6 |
| RubyGems | actionpack | >=2.0.0,<5.2.4.6 | 5.2.4.6 |
References
- https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYI
- https://www.suse.com/security/cve/CVE-2021-22885.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-22885
- https://hackerone.com/reports/1106652
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22885.yml
- https://security.netapp.com/advisory/ntap-20210805-0009
- https://security-tracker.debian.org/tracker/CVE-2021-22885
Verify integrity in audit chain (admin only). AS-IS.