{"id":"CVE-2021-41263","details":"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.","aliases":["GHSA-844m-cpr9-jcmh"],"modified":"2026-07-09T11:23:52.869453Z","published":"2021-11-15T20:15:20.037Z","references":[{"type":"ADVISORY","url":"https://github.com/discourse/rails_multisite/security/advisories/GHSA-844m-cpr9-jcmh"},{"type":"FIX","url":"https://github.com/discourse/rails_multisite/commit/c6785cdb5c9277dd2c5ac8d55180dd1ece440ed0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/rails_multisite","events":[{"introduced":"0"},{"fixed":"c6785cdb5c9277dd2c5ac8d55180dd1ece440ed0"}],"database_specific":{"cpe":"cpe:2.3:a:discourse:rails_multisite:*:*:*:*:*:ruby:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.0.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v3.1.0","v3.0.0","v2.5.0","v2.4.0","v2.3.0","v2.1.2","v2.1.1","v2.1.0","v2.0.7","v2.0.2","v2.0.1","v2.0.0","v1.1.2","v1.1.1","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41263.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}