CVE-2021-22885: Debian Linux

High severity, CVSS 7.5. EPSS: 4.1% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Rubyonrails Rails, from 5.2.0.0, before 5.2.4.6: fixed in 5.2.4.6
  • Rubyonrails Rails, from 6.0.0.0, before 6.0.3.7: fixed in 6.0.3.7
  • Rubyonrails Rails, from 6.1.0.0, before 6.1.3.1: fixed in 6.1.3.1

Affected products

Affected packages

Published 2021-05-27. Last modified 2026-06-17.