Skip to content
Fencer Intel
medium 6.5

CVE-2020-8185 json

Untrusted users can run pending migrations in production in Rails

published 6y ago modified 4mo ago also GHSA-c6qr-h5vq-59jc , EUVD-2020-0479

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.2%
EPSS 2.2% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

A denial of service vulnerability exists in Rails <6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app running in production.

Patch / fix

  • rubygems actionpack 6.0.3.2
  • rubyonrails rails 6.0.3.2
  • tfm satellite capsule 6.9, satellite 6.9 6.1-4.el7sat
  • kobo satellite capsule 6.9, satellite 6.9 0.5.1-1.el7sat
  • pulp satellite capsule 6.9, satellite 6.9 2.21.5-2.el7sat
  • gofer satellite capsule 6.9, satellite 6.9 2.12.5-7.el7sat
  • future satellite capsule 6.9, satellite 6.9 0.16.0-11.el7sat
  • ostree satellite capsule 6.9, satellite 6.9 2017.1-2.atomic.el7
  • foreman satellite capsule 6.9, satellite 6.9 2.3.1.20-1.el7sat
  • katello satellite capsule 6.9, satellite 6.9 3.18.1-3.el7sat

red hat advisories RHSA-2021:1313

  • rmt-server SLE Module for Server Applications 15 SP1, SLE Module for Public Cloud 15 SP1 2.6.5-3.18.1
  • rmt-server SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.6.5-3.34.1
  • rmt-server SLE Module for Server Applications 15 SP2, SLE Module for Public Cloud 15 SP2 2.6.5-3.3.1

suse advisories SUSE-SU-2020:3160-1SUSE-SU-2020:3147-1SUSE-SU-2020:3036-1

  • rmt-server openSUSE Tumbleweed 2.6.13-1.1
  • rubygem-actionpack-6.0 openSUSE Tumbleweed 6.0.4.4-1.1
  • rubygem-actionview-6.0 openSUSE Tumbleweed 6.0.4.4-1.1
  • rmt-server openSUSE Leap 15.1 2.6.5-lp151.2.18.2
  • rmt-server openSUSE Leap 15.2 2.6.5-lp152.2.3.1

opensuse advisories openSUSE-SU-2024:10589-1openSUSE-SU-2024:11821-1openSUSE-SU-2024:11823-1openSUSE-SU-2020:2000-1openSUSE-SU-2020:1993-1

Is CVE-2020-8185 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-8185 updated cvss 7.1

rubygem-rails: untrusted users able to run pending migrations in production

  • Red Hat Satellite 6.9 tfm 6.1-4.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.5-2.el7sat, gofer 2.12.5-7.el7sat, libsolv 0.7.12-2.el7pc, receptor 0.6.3-1.el7ar, +646 more Red Hat Satellite Capsule 6.9 tfm 6.1-4.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.5-2.el7sat, gofer 2.12.5-7.el7sat, libsolv 0.7.12-2.el7pc, future 0.16.0-11.el7sat, +254 more
    fixed: vendor fix RHSA-2021:1313
  • Red Hat CloudForms Management Engine 5 cfme-gemset Red Hat Satellite 6 tfm-ror52-rubygem-rails
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems actionpack
>=6.0.0, <6.0.3.2
6.0.3.2

Affected products

  • n/a https://github.com/rails/rails

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.