CVE-2024-22412: ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22412?
CVE-2024-22412 is considered a high severity vulnerability due to its potential to bypass role-based access controls.
How do I fix CVE-2024-22412?
To fix CVE-2024-22412, upgrade to ClickHouse version 24.0.2.54535 or later.
What versions of ClickHouse are affected by CVE-2024-22412?
CVE-2024-22412 affects ClickHouse versions prior to 24.0.2.54535 and version 23.1.
What is the type of vulnerability in CVE-2024-22412?
CVE-2024-22412 is a query caching vulnerability that bypasses role-based access control mechanisms.
Are there any exploits known for CVE-2024-22412?
As of now, there are no publicly known exploits specifically targeting CVE-2024-22412.