Security mailing lists by PureSourceCode

CVE-2019-5420

CRITICAL 9.8CVSS 3.1

Use of Insufficiently Random Values in Railties Allows Remote Code Execution

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.

Published
27 Mar 2019
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-330CWE-77
Also known as
GHSA-m42h-mh85-4qgc
Sources
NVDJSONOSV GHSA-m42h-mh85-4qgcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
< 5.2.2.1 5.2.2.1
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:6.0.0:beta1:*:*:*:*:*:*
= 6.0.0
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:6.0.0:beta2:*:*:*:*:*:*
= 6.0.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
OSV RubyGems railties >= 5.2.0, < 5.2.2.1 5.2.2.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 27 Mar 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Mar 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.