CVE-2024-22412

EUVD-2024-19964
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
2.4 LOW
ADJACENT_NETWORK
LOW
HIGH
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 28%
Affected Products (NVD)
VendorProductVersion
clickhouseclickhouse
23.3.0.0 ≤
𝑥
< 23.3.22.3
clickhouseclickhouse
23.8.0.0 ≤
𝑥
< 23.8.12.13
clickhouseclickhouse
23.12.0.0 ≤
𝑥
< 23.12.6.19
clickhouseclickhouse
24.0.0.0 ≤
𝑥
< 24.1.1.2048
clickhouseclickhouse_cloud
𝑥
< 24.0.2.54535
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
clickhouseclickhouse
𝑥
< 24.0.2.54535
ADP
Debian logo
Debian Releases
Debian Product
Codename
clickhouse
bookworm
no-dsa
bullseye
postponed
buster
postponed