What’s Vulnerable › Vulnerabilities

CVE-2021-22885: 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.

Affected products

How to fix

Upgrade to a fixed version: Ruby on Rails 5.2.4.6, 6.0.3.7, 6.1.3.1; Rubygems Actionpack 6.0.3.7, 6.1.3.2, 5.2.6, 5.2.4.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22885 or the next vulnerability affects your stack