CVE-2021-22885
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Rails
PublishedMay 27, 2021
First seenMay 27, 2021
Weakness typeCWE-209CWE-209
How to fix
Update
- rubyonrails rails5.2.4.6, 6.0.3.7, 6.1.3.1 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails rails | 5.2.0.0 ≤ v < 5.2.4.6, 6.0.0.0 ≤ v < 6.0.3.7, 6.1.0.0 ≤ v < 6.1.3.1 | 5.2.4.6, 6.0.3.7, 6.1.3.1 |
| rubyonrails actionpack_page-caching | No range specified | — |
| debian debian_linux | 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.