CVE-2019-5420: Command Injection
A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2019-5420?
CVE-2019-5420 is a remote code execution vulnerability in development mode Rails <5.2.2.1 <6.0.0.beta3.
What is the severity of CVE-2019-5420?
The severity of CVE-2019-5420 is critical with a CVSS score of 9.8.
How does CVE-2019-5420 work?
CVE-2019-5420 allows an attacker to guess the automatically generated development mode secret token and use it to escalate to a remote code execution exploit.
Which versions of Ruby on Rails are affected by CVE-2019-5420?
Ruby on Rails versions prior to 5.2.2.1 and 6.0.0.beta3 are affected by CVE-2019-5420.
How can I fix CVE-2019-5420?
To fix CVE-2019-5420, update Ruby on Rails to version 5.2.2.1 or later, or 6.0.0.beta3 or later.