ClickHouse up to 23.10.5.20 Role Based Access Control authorization
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.2 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in ClickHouse. The impacted element is an unknown function of the component Role Based Access Control. The manipulation results in authorization. This vulnerability is known as CVE-2024-22412. Access to the local network is required for this attack. No exploit is available. Upgrading the affected component is recommended.
Details
A vulnerability classified as problematic has been found in ClickHouse. Affected is an unknown code block of the component Role Based Access Control. The manipulation with an unknown input leads to a authorization vulnerability. CWE is classifying the issue as CWE-863. The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions. This is going to have an impact on confidentiality. CVE summarizes:
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 advisory is shared for download at github.com. This vulnerability is traded as CVE-2024-22412 since 01/10/2024. The exploitability is told to be easy. Access to the local network is required for this attack. The exploitation requires an enhanced level of successful authentication. There are neither technical details nor an exploit publicly available.
Upgrading to version 24.0.2.54535 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
- 0.1.5
- 1.1.54131
- 1.1.54388
- 1.1.54390
- 18.10.3
- 19.13.5.44
- 19.14
- 19.14.3
- 20.8.18.32-lts
- 21.1.9.41-stable
- 21.2.9.41-stable
- 21.3.6.55-lts
- 21.4.3.21-stable
- 22.3.12.19
- 22.6.6.16
- 22.7.4.16
- 22.8.2.11
- 22.9.1.2603
- 23.3.16.7-lts
- 23.3.18.15
- 23.8.6.16-lts
- 23.8.8.20
- 23.8.15.35-lts
- 23.9.2.47551
- 23.9.4.11-stable
- 23.9.6.20
- 23.10.2.13-stable
- 23.10.5.20
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.2VulDB Meta Temp Score: 3.2
VulDB Base Score: 2.4
VulDB Temp Score: 2.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 4.9
NVD Vector: 🔍
CNA Base Score: 2.4
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: AuthorizationCWE: CWE-863 / CWE-285 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ClickHouse 24.0.2.54535
Patch: github.com
Timeline
01/10/2024 🔍03/19/2024 🔍
03/19/2024 🔍
12/23/2025 🔍
Sources
Product: github.comAdvisory: GHSA-45h5-f7g3-gr8r
Status: Confirmed
CVE: CVE-2024-22412 (🔍)
GCVE (CVE): GCVE-0-2024-22412
GCVE (VulDB): GCVE-100-257220
Entry
Created: 03/19/2024 04:57Updated: 12/23/2025 23:08
Changes: 03/19/2024 04:57 (63), 12/23/2025 23:08 (14)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.