CVE-2024-22412: clickhouse Incorrect Authorization
Vulnerability summary
CVE-2024-22412 is a medium (CVSS 4.9) Incorrect Authorization vulnerability in clickhouse. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 18-03-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA2.4LowCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.59% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundClickhouse
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Clickhouse2 products
- clickhouse= 23.1 | < 24.0.2.54535 | ≥ 23.3.0.0, < 23.3.22.3 | ≥ 23.8.0.0, < 23.8.12.13 | ≥ 23.12.0.0, < 23.12.6.19 | ≥ 24.0.0.0, < 24.1.1.2048
- clickhouse_cloud< 24.0.2.54535
Debian1 product
- clickhouseAll versions (No fix recorded)
Ubuntu1 product
- clickhouseAll versions (No fix recorded)
3 vendors · 4 products
References
6 links- github.com/ClickHouse/ClickHouse/security/advisories/GHSA-45h5-f7g3-gr8rX Refsource CONFIRMREPORTExploitVendor Advisory