ubuntu-cve-2024-22412
Vulnerability from osv_ubuntu
Published
2024-03-18 21:15
Modified
2025-12-29 05:10
Summary
Details

ClickHouse is an open-source column-oriented database management system. A bug exists in the cloud ClickHouse offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1. Query caching bypasses the role based access controls and the policies being enforced on roles. In affected versions, the query cache only respects separate users, however this is not documented and not expected behavior. People relying on ClickHouse roles can have their access control lists bypassed if they are using query caching. Attackers who have control of a role could guess queries and see data they shouldn't have access to. Version 24.1 of ClickHouse and version 24.0.2.54535 of ClickHouse Cloud contain a patch for this issue. Based on the documentation, role based access control should be enforced regardless if query caching is enabled or not.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "clickhouse-client",
            "binary_version": "18.16.1+ds-7ubuntu0.1"
          },
          {
            "binary_name": "clickhouse-common",
            "binary_version": "18.16.1+ds-7ubuntu0.1"
          },
          {
            "binary_name": "clickhouse-server",
            "binary_version": "18.16.1+ds-7ubuntu0.1"
          },
          {
            "binary_name": "clickhouse-tools",
            "binary_version": "18.16.1+ds-7ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "clickhouse",
        "purl": "pkg:deb/ubuntu/clickhouse@18.16.1+ds-7ubuntu0.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "18.16.1+ds-5",
        "18.16.1+ds-5ubuntu1",
        "18.16.1+ds-5ubuntu2",
        "18.16.1+ds-6ubuntu1",
        "18.16.1+ds-7",
        "18.16.1+ds-7ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "clickhouse-client",
            "binary_version": "18.16.1+ds-7.4build2"
          },
          {
            "binary_name": "clickhouse-common",
            "binary_version": "18.16.1+ds-7.4build2"
          },
          {
            "binary_name": "clickhouse-server",
            "binary_version": "18.16.1+ds-7.4build2"
          },
          {
            "binary_name": "clickhouse-tools",
            "binary_version": "18.16.1+ds-7.4build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "clickhouse",
        "purl": "pkg:deb/ubuntu/clickhouse@18.16.1+ds-7.4build2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "18.16.1+ds-7.4",
        "18.16.1+ds-7.4build1",
        "18.16.1+ds-7.4build2"
      ]
    }
  ],
  "aliases": [],
  "details": "ClickHouse is an open-source column-oriented database management system. A bug exists in the cloud ClickHouse offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1. Query caching bypasses the role based access controls and the policies being enforced on roles. In affected versions, the query cache only respects separate users, however this is not documented and not expected behavior. People relying on ClickHouse roles can have their access control lists bypassed if they are using query caching. Attackers who have control of a role could guess queries and see data they shouldn\u0027t have access to. Version 24.1 of ClickHouse and version 24.0.2.54535 of ClickHouse Cloud contain a patch for this issue. Based on the documentation, role based access control should be enforced regardless if query caching is enabled or not.",
  "id": "UBUNTU-CVE-2024-22412",
  "modified": "2025-12-29T05:10:10Z",
  "published": "2024-03-18T21:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-22412"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-22412"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-45h5-f7g3-gr8r"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ClickHouse/ClickHouse/pull/58611"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-22412"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…