Information Exposure Affecting actionpack package, versions >=2.0.0, <5.2.4.6>=5.2.5, <5.2.6>=6.0.0, <6.0.3.7>=6.1.0, <6.1.3.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
1.4% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-ACTIONPACK-1290051
  • published6 May 2021
  • disclosed5 May 2021
  • creditUnknown

Introduced: 5 May 2021

CVE-2021-22885  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade actionpack to version 5.2.4.6, 5.2.6, 6.0.3.7, 6.1.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. There is a possible information exposure / unintended method execution when using the redirect_to or polymorphic_url helper with untrusted user input. This arises because url_for supports building polymorphic URLs via an array of arguments (usually symbols and records). If a developer passes a user input array, strings can result in unwanted route helper calls.

CVSS Scores

version 3.1