CVE-2024-22412CWE-863

ClickHouse's Role-based Access Control is bypassed when query caching is enabled.

Low · published March 18, 2024

CVSS v3.1
2.4
EPSS
1%
Percentile
47.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
2.4 · LOW
Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00587 · 47.3th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2024-03-18T20:51Z
EPSS history
Timeline
  • 18 MAR 20:51Z
    ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
    cvelistv5