Secure/signed cookies share secrets between sites in rails_multisite
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rails_multisiteRubyGems | < 4.0.0 | 4.0.0 |
Affected products
2- Range: < 4.0.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-844m-cpr9-jcmhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-41263ghsaADVISORY
- github.com/discourse/rails_multisite/commit/c6785cdb5c9277dd2c5ac8d55180dd1ece440ed0ghsax_refsource_MISCWEB
- github.com/discourse/rails_multisite/security/advisories/GHSA-844m-cpr9-jcmhghsax_refsource_CONFIRMWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rails_multisite/CVE-2021-41263.ymlghsaWEB
News mentions
0No linked articles in our index yet.