Vulnerability

CVE-2023-48220

highCVSS 3.1 7.4Published 20 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Decidim is a participatory democracy framework. Starting in version 0.4.rc3 and prior to version 2.0.9 of the `devise_invitable` gem, the invites feature allows users to accept the invitation for an unlimited amount of time through the password reset functionality. This issue creates vulnerable dependencies starting in version 0.0.1.alpha3 and prior to versions 0.26.9, 0.27.5, and 0.28.0 of the `decidim,` `decidim-admin`, and `decidim-system` gems. When using the password reset functionality, the `devise_invitable` gem always accepts the pending invitation if the user has been invited. The only check done is if the user has been invited but the code does not ensure that the pending invitation is still valid as defined by the `invite_for` expiry period. Decidim sets this configuration to `2.weeks` so this configuration should be respected. The bug is in the `devise_invitable` gem and should be fixed there and the dependency should be upgraded in Decidim once the fix becomes available. `devise_invitable` to version `2.0.9` and above fix this issue. Versions 0.26.9, 0.27.5, and 0.28.0 of the `decidim,` `decidim-admin`, and `decidim-system` gems contain this fix. As a workaround, invitations can be cancelled directly from the database.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Decidim decidim
  • Scambra devise invitable

Weakness type

References

  • github.com /decidim/decidim/blob/d2d390578050772d1bdb6d731395f1afc39dc…
  • github.com /decidim/decidim/commit/073e60e2e4224dd81815a784002ebba30f2…
  • github.com /decidim/decidim/commit/b12800717a689c295a9ea680a38ca9f823d…
  • github.com /decidim/decidim/releases/tag/v0.26.9
  • github.com /decidim/decidim/releases/tag/v0.27.5
  • github.com /decidim/decidim/releases/tag/v0.28.0
  • github.com /decidim/decidim/security/advisories/GHSA-w3q8-m492-4pwp
  • github.com /scambra/devise_invitable/blob/41f58970ff76fb64382a9b9ea1bd…
  • github.com /scambra/devise_invitable/commit/94d859c7de0829bf63f679ae5d…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning