CVE-2019-5420: Command Injection

Published Mar 27, 2019
·
Updated

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

5 affected components
rubyonrails Rails<5.2.2.1
rubyonrails Rails=6.0.0-beta1
rubyonrails Rails=6.0.0-beta2
Debian Debian Linux=8.0
Fedoraproject Fedora=30

Event History

Mar 27, 2019
CVE Published
via MITRE·01:48 PM
Data Sourced
via MITRE·01:48 PM
DescriptionWeakness
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2019-5420?

The severity of CVE-2019-5420 is critical with a CVSS score of 9.8.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203