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

Published Nov 15, 2021
·
Updated

railsmultisite provides multi-db support for Rails applications. In affected versions this vulnerability impacts any Rails applications using railsmultisite 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 railsmultisite gem. Note that this upgrade will invalidate all previous signed/encrypted cookies. The impact of this invalidation will vary based on the application architecture.

Affected Software

1 affected component
Discourse Rails Multisite Ruby<4.0.0

Event History

Nov 15, 2021
CVE Published
via MITRE·08:10 PM
Data Sourced
via MITRE·08:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2021-41263?

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

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203