You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 23.12.0.0 up to (excluding) 23.12.6.19
*cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 23.3.0.0 up to (excluding) 23.3.22.3
*cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 23.8.0.0 up to (excluding) 23.8.12.13
*cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 24.0.0.0 up to (excluding) 24.1.1.2048
*cpe:2.3:a:clickhouse:clickhouse_cloud:*:*:*:*:*:*:*:* versions up to (excluding) 24.0.2.54535
New CVE Received from GitHub, Inc.3/18/2024 5:15:06 PM
Action
Type
Old Value
New Value
Added
Description
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.
Added
CVSS V3.1
GitHub, Inc. AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Added
CWE
GitHub, Inc. CWE-863
Added
Reference
GitHub, Inc. https://github.com/ClickHouse/ClickHouse/blob/bd17ee769e337906c4b1f404861e042ad72fcbfc/src/Interpreters/executeQuery.cpp#L1013-L1015 [No types assigned]
Added
Reference
GitHub, Inc. https://github.com/ClickHouse/ClickHouse/pull/58611 [No types assigned]
Added
Reference
GitHub, Inc. https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-45h5-f7g3-gr8r [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-22412 NVD
Published Date: 03/18/2024 NVD
Last Modified: 06/17/2026
Source: GitHub, Inc.