Remote Code Execution Affecting railties package, versions >=5.2.2, <5.2.2.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    95.98% (100th 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-RAILTIES-173785
  • published 13 Mar 2019
  • disclosed 13 Mar 2019
  • credit ooooooo_q

How to fix?

Upgrade railties to version 5.2.2.1 or higher.

Overview

railties is an application bootup, plugins, generators, and rake tasks.

Affected versions of this package are vulnerable to Remote Code Execution. An attacker could guess the automatically generated development mode secret token. This secret token could be used in combination with other Rails internals to escalate to a remote code execution exploit.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

9.8 critical
Expand this section

SUSE

8.1 high