Security mailing lists by PureSourceCode

CVE-2021-41263

HIGH 8.8CVSS 3.1

Rails Multisite secure/signed cookies share secrets between sites in a multi-site application

rails_multisite provides multi-db support for Rails applications. In affected versions this vulnerability impacts any Rails applications using rails_multisite alongside Rails' signed/encrypted cookies. Depending on how the application makes use of these cookies, it may be possible for an attacker to re-use cookies on different 'sites' within a multi-site Rails application. The issue has been patched in v4 of the rails_multisite gem. Note that this upgrade will invalidate all previous signed/encrypted cookies. The impact of this invalidation will vary based on the application architecture.

Published
15 Nov 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-327CWE-565
Also known as
GHSA-844m-cpr9-jcmh
Sources
NVDJSONOSV GHSA-844m-cpr9-jcmhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD discourse rails_multisite
cpe:2.3:a:discourse:rails_multisite:*:*:*:*:*:ruby:*:*
< 4.0.0 4.0.0
OSV RubyGems rails_multisite < 4.0.0 4.0.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Nov 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Nov 2021)
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.