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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-03-18T20:51:40.313Z

Updated: 2024-08-01T22:43:34.945Z

Reserved: 2024-01-10T15:09:55.551Z

Link: CVE-2024-22412

cve-icon Vulnrichment

Updated: 2024-08-01T22:43:34.945Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-18T21:15:06.230

Modified: 2024-11-21T08:56:14.090

Link: CVE-2024-22412

cve-icon Redhat

No data.