From 6dd1b9ec5716f20bf05506388953322d4cb599a0 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:25:47 +0000 Subject: [PATCH] Publish GHSA-c6qr-h5vq-59jc --- .../2020/06/GHSA-c6qr-h5vq-59jc/GHSA-c6qr-h5vq-59jc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advisories/github-reviewed/2020/06/GHSA-c6qr-h5vq-59jc/GHSA-c6qr-h5vq-59jc.json b/advisories/github-reviewed/2020/06/GHSA-c6qr-h5vq-59jc/GHSA-c6qr-h5vq-59jc.json index bc9022b93be..a8d94d48426 100644 --- a/advisories/github-reviewed/2020/06/GHSA-c6qr-h5vq-59jc/GHSA-c6qr-h5vq-59jc.json +++ b/advisories/github-reviewed/2020/06/GHSA-c6qr-h5vq-59jc/GHSA-c6qr-h5vq-59jc.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-c6qr-h5vq-59jc", - "modified": "2021-10-22T13:58:59Z", + "modified": "2023-07-05T20:24:19Z", "published": "2020-06-24T17:40:33Z", "aliases": [ "CVE-2020-8185" ], "summary": "Untrusted users can run pending migrations in production in Rails", - "details": "There is a vulnerability in versions of Rails prior to 6.0.3.2 that allowed\nan untrusted user to run any pending migrations on a Rails app running in\nproduction.\n\nThis vulnerability has been assigned the CVE identifier CVE-2020-8185.\n\nVersions Affected: 6.0.0 < rails < 6.0.3.2\nNot affected: Applications with `config.action_dispatch.show_exceptions = false` (this is not a default setting in production)\nFixed Versions: rails >= 6.0.3.2\n\nImpact\n------\n\nUsing this issue, an attacker would be able to execute any migrations that\nare pending for a Rails app running in production mode. It is important to\nnote that an attacker is limited to running migrations the application\ndeveloper has already defined in their application and ones that have not\nalready ran.\n\nWorkarounds\n-----------\n\nUntil such time as the patch can be applied, application developers should\ndisable the ActionDispatch middleware in their production environment via\na line such as this one in their config/environment/production.rb:\n\n`config.middleware.delete ActionDispatch::ActionableExceptions`", + "details": "There is a vulnerability in versions of Rails prior to 6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app running in production.\n\nThis vulnerability has been assigned the CVE identifier CVE-2020-8185.\n\nVersions Affected: 6.0.0 < rails < 6.0.3.2\nNot affected: Applications with `config.action_dispatch.show_exceptions = false` (this is not a default setting in production)\nFixed Versions: rails >= 6.0.3.2\n\nImpact\n------\n\nUsing this issue, an attacker would be able to execute any migrations that are pending for a Rails app running in production mode. It is important to note that an attacker is limited to running migrations the application developer has already defined in their application and ones that have not already run.\n\nWorkarounds\n-----------\n\nUntil such time as the patch can be applied, application developers should disable the ActionDispatch middleware in their production environment via a line such as this one in their config/environment/production.rb:\n\n`config.middleware.delete ActionDispatch::ActionableExceptions`", "severity": [ { "type": "CVSS_V3",