CVE-2024-22412
published low CVSS 3.1 · 2.4ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ClickHouse | — | ClickHouse= 23.1 · < 24.0.2.54535 | Affected | Not stated | GitHub_M |
| clickhouse | — | clickhouse0 to < 24.0.2.54535 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| clickhouse | — | clickhouse23.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.4 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ClickHouse | ClickHouse | = 23.1 (affected)< 24.0.2.54535 (affected) | GitHub_M · cna |
| clickhouse | clickhouse | 0 to < 24.0.2.54535 (affected · custom)Default: unknown | CISA-ADP · adp |
| clickhouse | clickhouse | 23.1 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
3Provider assertions
3GitHub_M · cna
ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7a02cbe3a4ef8470c3f159dd244729b99456296def9ed4ba320725b5090650a2
- Ingested
- 23 Sep 2026, 08:19:14 UTC
- Source record
- Official CVE record