Vulnerabilities · 2021 · Discourse
CVE-2021-41263
Discourse Rails Multisite vulnerability
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.
Affected products
Rails Multisite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse Rails Multisite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Discourse products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.