Skip to main content
← All vulnerabilities
CVE-2021-41263GHSA-844M-CPR9-JCMH

Secure/signed cookies share secrets between sites in rails_multisite

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • discourse rails_multisite

    fixed in 4.0.0

  • rails_multisiteRubyGems

    fixed in 4.0.0

References 2

GitHub · discourse/rails_multisite