PT-2024-13556 · Unknown+2 · Decidim-Admin+3

Ctrgrb

·

Published

2024-02-20

·

Updated

2024-12-16

·

CVE-2023-48220

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions decidim versions 0.0.1.alpha3 through 0.26.8 decidim-admin versions 0.0.1.alpha3 through 0.26.8 decidim-system versions 0.0.1.alpha3 through 0.26.8 devise invitable versions 0.4.rc3 through 2.0.8
Description The invites feature in the devise invitable gem allows users to accept invitations for an unlimited amount of time through the password reset functionality. This issue creates vulnerable dependencies in 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, without ensuring that the pending invitation is still valid as defined by the invite for expiry period. Decidim sets this configuration to 2.weeks, which should be respected.
Recommendations For decidim versions 0.0.1.alpha3 through 0.26.8, update to version 0.26.9 or above. For decidim-admin versions 0.0.1.alpha3 through 0.26.8, update to version 0.26.9 or above. For decidim-system versions 0.0.1.alpha3 through 0.26.8, update to version 0.26.9 or above. For devise invitable versions 0.4.rc3 through 2.0.8, update to version 2.0.9 or above. As a temporary workaround, invitations can be cancelled directly from the database by running the command: Decidim::User.invitation not accepted.update all(invitation token: nil)

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2023-48220
GHSA-W3Q8-M492-4PWP

Affected Products

Decidim
Decidim-Admin
Decidim-System
Devise Invitable