8.8
CWE
327 200 565
Advisory Published
Updated

CVE-2021-41263: Secure/signed cookies share secrets between sites in rails_multisite

First published: Mon Nov 15 2021(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse Rails Multisite<4.0.0
<4.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-41263?

    CVE-2021-41263 has medium severity as it affects Rails applications using `rails_multisite` with potential impacts on signed/encrypted cookies.

  • How do I fix CVE-2021-41263?

    To fix CVE-2021-41263, update the `rails_multisite` gem to version 4.0.0 or later.

  • Which versions of rails_multisite are affected by CVE-2021-41263?

    CVE-2021-41263 affects all versions of `rails_multisite` prior to 4.0.0.

  • What applications are impacted by CVE-2021-41263?

    Any Rails applications utilizing `rails_multisite` combined with signed/encrypted cookies are impacted by CVE-2021-41263.

  • Is CVE-2021-41263 exploitable?

    Yes, depending on the application's use of cookies, CVE-2021-41263 may be exploitable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203