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 Software | Affected Version | How to fix |
---|---|---|
Discourse Rails Multisite | <4.0.0 | |
<4.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-41263 has medium severity as it affects Rails applications using `rails_multisite` with potential impacts on signed/encrypted cookies.
To fix CVE-2021-41263, update the `rails_multisite` gem to version 4.0.0 or later.
CVE-2021-41263 affects all versions of `rails_multisite` prior to 4.0.0.
Any Rails applications utilizing `rails_multisite` combined with signed/encrypted cookies are impacted by CVE-2021-41263.
Yes, depending on the application's use of cookies, CVE-2021-41263 may be exploitable.