CVE-2024-27090: Decidim Decidim Vulnerable To Data Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-qcj6-vxwx-4rqv
CVSS 5.3
CWE-200
Published
Advisory Summary

CVE-2024-27090 is a MODERATE (CVSS 5.3) decidim vulnerable to data disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Decidim libraries in the RubyGems ecosystem. The issue involves decidim vulnerable to data disclosure through the embed feature. Remediation is available by upgrading affected packages to version 0.27.6.

CVE-2024-27090 at a Glance

CVE Identifier CVE-2024-27090
GHSA Identifier GHSA-qcj6-vxwx-4rqv
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Decidim
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-27090

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.

decidim fixed: 0.27.6
Upgrade decidim to 0.27.6
Verify Direct and Transitive Dependencies

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-2024-27090, 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.27.6), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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

### Impact If an attacker can infer the slug or URL of an unpublished or private resource, and this resource can be embedded (such as a Participatory Process, an Assembly, a Proposal, a Result, etc), then some data of this resource could be accessed. ### Patches version 0.27.6 https://github.com/decidim/decidim/commit/1756fa639ef393ca8e8bb16221cab2e2e7875705 ### Workarounds Disallow access through your web server to the URLs finished with `/embed.html`

CVE-2024-27090 Affected Decidim Versions

1 component(s)
Fixed Versions:
0.27.6
Product / Package Ecosystem Affected Versions Fixed Version
decidim
RubyGems
< 0.27.6
0.27.6

References

Frequently Asked Questions

What is CVE-2024-27090?
CVE-2024-27090 is a security vulnerability in Decidim involving Decidim vulnerable to data disclosure through the embed feature under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Decidim versions are affected?
Affected versions include releases prior to 0.27.6 across affected packages: decidim.
What version fixes CVE-2024-27090?
Upgrading to 0.27.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is decidim affected?
Yes, decidim is affected in releases prior to 0.27.6. Upgrade your dependency to 0.27.6 or later.
What is the CVSS score of CVE-2024-27090?
CVE-2024-27090 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-27090?
CVE-2024-27090 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2024-27090?
Run the dependency tree command: 'inspect dependencies for decidim'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qcj6-vxwx-4rqv",
  "modified" : "2024-07-11T21:36:30Z",
  "published" : "2024-07-10T15:10:57Z",
  "aliases" : [ "CVE-2024-27090" ],
  "summary" : "Decidim vulnerable to data disclosure through the embed feature",
  "details" : "### Impact\n\nIf an attacker can infer the slug or URL of an unpublished or private resource, and this resource can be embedded (such as a Participatory Process, an Assembly, a Proposal, a Result, etc), then some data of this resource could be accessed. \n\n### Patches\n\nversion 0.27.6\n\nhttps://github.com/decidim/decidim/commit/1756fa639ef393ca8e8bb16221cab2e2e7875705\n\n### Workarounds\n\nDisallow access through your web server to the URLs finished with `/embed.html`\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.27.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/security/advisories/GHSA-qcj6-vxwx-4rqv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-27090"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/pull/12528"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/commit/1756fa639ef393ca8e8bb16221cab2e2e7875705"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/decidim/decidim"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/releases/tag/v0.27.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim/CVE-2024-27090.yml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-10T15:10:57Z",
    "nvd_published_at" : "2024-07-10T19:15:10Z"
  }
}