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. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
96.69% (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 Learn

Learn about Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RAILTIES-173785
  • published13 Mar 2019
  • disclosed13 Mar 2019
  • creditooooooo_q

Introduced: 13 Mar 2019

CVE-2019-5420  (opens in a new tab)
CWE-94  (opens in a new tab)

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