CVE-2019-5420

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.
Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
Affected Products (NVD)
VendorProductVersion
rubyonrailsrails
𝑥
< 5.2.2.1
rubyonrailsrails
6.0.0:beta1
rubyonrailsrails
6.0.0:beta2
debiandebian_linux
8.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
rails
bookworm
2:6.1.7.3+dfsg-2~deb12u1
fixed
bullseye
2:6.0.3.7+dfsg-2+deb11u2
fixed
bullseye (security)
2:6.0.3.7+dfsg-2+deb11u2
fixed
jessie
not-affected
sid
2:6.1.7.3+dfsg-4
fixed
stretch
not-affected
trixie
2:6.1.7.3+dfsg-4
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rails
bionic
not-affected
cosmic
ignored
disco
ignored
eoan
not-affected
trusty
dne
xenial
not-affected
rails-4.0
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
ruby-actionpack-3.2
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
ruby-activemodel-3.2
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
ruby-activerecord-3.2
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
ruby-activesupport-3.2
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
ruby-rails-3.2
bionic
dne
cosmic
dne
disco
dne
eoan
dne
trusty
dne
xenial
dne
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
rmt-server
suse enterprise sap 15 SP1
2.6.5-3.18.1
fixed
suse enterprise sap 15 SP2
2.6.5-3.3.1
fixed
suse enterprise sap 15 SP3
2.6.8-1.2
fixed
suse enterprise sap 15 SP4
2.7.1-150400.1.7
fixed
suse enterprise sap 15 SP7
2.21-150700.1.21
fixed
suse enterprise server 15
2.6.5-3.34.1
fixed
suse enterprise server 15 SP1
2.6.5-3.18.1
fixed
suse enterprise server 15 SP2
2.6.5-3.3.1
fixed
suse enterprise server 15 SP3
2.6.8-1.2
fixed
suse enterprise server 15 SP4
2.7.1-150400.1.7
fixed
suse enterprise server 15 SP7
2.21-150700.1.21
fixed
rmt-server-config
suse enterprise sap 15 SP1
2.6.5-3.18.1
fixed
suse enterprise sap 15 SP2
2.6.5-3.3.1
fixed
suse enterprise sap 15 SP3
2.6.8-1.2
fixed
suse enterprise sap 15 SP4
2.7.1-150400.1.7
fixed
suse enterprise sap 15 SP7
2.21-150700.1.21
fixed
suse enterprise server 15
2.6.5-3.34.1
fixed
suse enterprise server 15 SP1
2.6.5-3.18.1
fixed
suse enterprise server 15 SP2
2.6.5-3.3.1
fixed
suse enterprise server 15 SP3
2.6.8-1.2
fixed
suse enterprise server 15 SP4
2.7.1-150400.1.7
fixed
suse enterprise server 15 SP7
2.21-150700.1.21
fixed