Improper Input Validation Affecting rails_multisite package, versions <4.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-RAILSMULTISITE-1921088
  • published16 Nov 2021
  • disclosed15 Nov 2021
  • creditUnknown

Introduced: 15 Nov 2021

CVE-2021-41263  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-565  (opens in a new tab)

How to fix?

Upgrade rails_multisite to version 4.0.0 or higher.

Overview

rails_multisite is a gem for multi-db support for Rails applications.

Affected versions of this package are vulnerable to Improper Input Validation. Secure/signed cookies share secrets between sites in a multi-site application.

Impact

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.

CVSS Scores

version 3.1