HIGH7.1
GHSA-639h-86hw-qcjq
Decidim has broken access control in templates
Quick fix
GHSA-639h-86hw-qcjq — decidim: upgrade to the fixed version with the command below.
bundle update decidimDetails
### Impact
The `templates` module doesn't enforce the correct permissions, allowing any logged-in user to access to this functionality in the administration panel. An attacker could use this vulnerability to change, create or delete templates of surveys.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/decidim/decidim/security/advisories/GHSA-639h-86hw-qcjq[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-36465[ADVISORY]
- https://github.com/decidim/decidim[PACKAGE]
- https://github.com/decidim/decidim/releases/tag/v0.26.8[WEB]
- https://github.com/decidim/decidim/releases/tag/v0.27.4[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-templates/CVE-2023-36465.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim/CVE-2023-36465.yml[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:gem/decidim"]}'