decidim: Operation on a Resource after Expiration or Release
CVE-2023-48220 is a high-severity operation on a resource after expiration or release vulnerability in decidim, with a CVSS 3.1 base score of 7.4 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 0.26.9, 0.27.5, 2.0.9 as the first without the flaw, so updating decidim to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.79% chance of exploitation within 30 days, higher than 57% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update decidim to 0.26.9 or 0.27.5 or 2.0.9, whichever matches your release line, or a later version.
- Update Devise Invitable to 2.0.9 or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Decidim | decidim | >= 0.0.1.alpha3, < 0.26.9; >= 0.27.0, < 0.27.5; >= 0.4.rc3, < 2.0.9; 0.0.1.alpha3 up to, but not including, 0.26.9; 0.27.0 up to, but not including, 0.27.5; 0.4.rc3 up to, but not including, 2.0.9 | 0.26.9, 0.27.5, 2.0.9 |
| Scambra | Devise Invitable | 0.4.1 up to, but not including, 2.0.9; 0.4.0 | 2.0.9 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.7 | Medium | CNA (github.com) |
| CVSS 3.1 | 7.4 | High | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Operation on a Resource after Expiration or Release
The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.
More Operation on a Resource after Expiration or Release vulnerabilities (CWE-672)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- github.com/decidim/decidim/commit/073e60e2e4224dd81815a784002ebba30f2ebb34
- github.com/decidim/decidim/commit/b12800717a689c295a9ea680a38ca9f823d2c454
- github.com/decidim/decidim/releases/tag/v0.26.9Release Notes
- github.com/decidim/decidim/releases/tag/v0.27.5Release Notes
- github.com/decidim/decidim/releases/tag/v0.28.0Release Notes
- github.com/scambra/devise_invitable/commit/94d859c7de0829bf63f679ae5dd3cab2b866a098
Other references
Other vulnerabilities in decidim
- 8.5 High severity
- 7.5 High severity
- 7.5 High severity
- 8.7 High severity
- 7.1 High severity
- 7.1 High severity
Recent Operation on a Resource after Expiration or Release vulnerabilities
- 7.8 High severity
- 9.8 Critical severity
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.