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—
ProductRails
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

Affected products

ProductAffected versionsFixed in
rubyonrails rails5.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.15.2.4.6, 6.0.3.7, 6.1.3.1
rubyonrails actionpack_page-cachingNo range specified—
debian debian_linux10.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.