CVE-2021-41263 HIGH

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

Vendor Discourse
Product rails_multisite
Weakness CWE-200 · Info exposure
Published November 15, 2021
Last update August 4, 2024

CVSS base score

8.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 15, 2021 CVE published
August 4, 2024 Record updated

Related vulnerabilities

04Related CVE