CVE-2021-41263

Secure/signed cookies share secrets between sites in rails_multisite

Published Nov 15, 2021 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2317 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.
Github GHSA Github GHSA GHSA-844m-cpr9-jcmh Rails Multisite secure/signed cookies share secrets between sites in a multi-site application
History

No history.

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm

  • CWE-565

    Reliance on Cookies without Validation and Integrity Checking

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 3:08 AM
Reserved
Sep 15, 2021, 12:00 AM
Status
Modified
Published
Nov 15, 2021, 8:15 PM
Modified
Jun 17, 2026, 4:08 AM