CVE-2023-36465: Decidim Decidim Has Broken Access Control Vulnerability
HIGHCVE-2023-36465 is a HIGH (CVSS 7.1) decidim has broken access control vulnerability (CWE-284: Improper Access Control) affecting Decidim libraries in the RubyGems ecosystem. The issue involves decidim has broken access control in templates. Remediation is available by upgrading affected packages to version 0.26.8, 0.27.4.
CVE-2023-36465 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L).
How to Fix CVE-2023-36465
To remediate this vulnerability, upgrade all affected Decidim dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade decidim to 0.26.8
Upgrade decidim-templates to 0.26.8
Upgrade decidim-templates to 0.27.4
Upgrade decidim to 0.27.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for decidim
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-36465, inspect your project dependencies for Decidim:
inspect dependencies for decidim
Analyze the terminal output to locate any version of Decidim in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Decidim, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-36465 Affected Decidim Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
decidim
|
RubyGems |
≥ 0.23.2
< 0.26.8
|
0.26.8
|
|
decidim-templates
|
RubyGems |
≥ 0.23.2
< 0.26.8
|
0.26.8
|
|
decidim-templates
|
RubyGems |
≥ 0.27.0
< 0.27.4
|
0.27.4
|
|
decidim
|
RubyGems |
≥ 0.27.0
< 0.27.4
|
0.27.4
|
References
Frequently Asked Questions
What is CVE-2023-36465?
Which Decidim versions are affected?
What version fixes CVE-2023-36465?
Is decidim affected?
Is decidim-templates affected?
What is the CVSS score of CVE-2023-36465?
What CWE is associated with CVE-2023-36465?
How can I check RubyGems dependencies for CVE-2023-36465?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-639h-86hw-qcjq",
"modified" : "2023-10-13T22:47:57Z",
"published" : "2023-10-05T20:52:46Z",
"aliases" : [ "CVE-2023-36465" ],
"summary" : "Decidim has broken access control in templates",
"details" : "### Impact\n\nThe `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.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.23.2"
}, {
"fixed" : "0.26.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-templates"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.23.2"
}, {
"fixed" : "0.26.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-templates"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.27.0"
}, {
"fixed" : "0.27.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.27.0"
}, {
"fixed" : "0.27.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/security/advisories/GHSA-639h-86hw-qcjq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-36465"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/decidim/decidim"
}, {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/releases/tag/v0.26.8"
}, {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/releases/tag/v0.27.4"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-templates/CVE-2023-36465.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim/CVE-2023-36465.yml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-732" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-05T20:52:46Z",
"nvd_published_at" : "2023-10-06T12:15:11Z"
}
}