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

    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 ID SNYK-RUBY-ACTIONPACK-1290051
  • published 6 May 2021
  • disclosed 5 May 2021
  • credit Unknown

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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.5 high
Expand this section

SUSE

7.5 high
Expand this section

Red Hat

7.5 high