CVE-2021-22885

HIGH
7.5
CVSS Score
Published: May 27, 2021 at 11:15 AM UTC
Updated: June 17, 2026 at 03:37 AM UTC
3 products affected across 2 vendorsDebian LinuxRailsActionpack Page Caching

Using https://github.com/rails/rails by N/A?

Get instant alerts when new vulnerabilities affect https://github.com/rails/rails - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.2.0.0 ≤ v < 5.2.4.66.0.0.0 ≤ v < 6.0.3.76.1.0.0 ≤ v < 6.1.3.15.2.4.65.2.66.0.3.76.1.3.1
Affected range stops below 5.2.4.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.3.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.3.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCExploitThird Party Advisory
https://hackerone.com/reports/1106652
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2021/dsa-4929

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-209

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card