← Vulnerability feed

Vulnerability record · CVE-2024-22412 · published 18 March 2024

CVE-2024-22412: Clickhouse incorrect authorization vulnerability

Clickhouse · Clickhouse

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.

4.9 CVSS 3.1 Medium EPSS 0.59% · top 51.4% CWE-863 · Incorrect authorization
4.9CVSS 3.1 base score
0.59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-22412 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.2CVE-2026-111497Google brotli unchecked return value vulnerabilityA buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote…KEVEPSS 83%9.8CVE-2023-47118Clickhouse heap-based buffer overflow vulnerabilityClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer o…EPSS 0.46%9.8CVE-2019-16535Clickhouse out-of-bounds read vulnerabilityIn all versions of ClickHouse before 19.14, an OOB read, OOB write and integer underflow in decompression algorithms can be used to achieve RCE or Do…EPSS 1.7%9.8CVE-2018-14671Clickhouse improper input validation vulnerabilityIn ClickHouse before 18.10.3, unixODBC allowed loading arbitrary shared objects from the file system which led to a Remote Code Execution vulnerabili…EPSS 3.4%9.8CVE-2018-14670Clickhouse improper authorization vulnerabilityIncorrect configuration in deb package in ClickHouse before 1.1.54131 could lead to unauthorized use of the database.EPSS 1.8%8.8CVE-2021-43304Clickhouse heap-based buffer overflow vulnerabilityHeap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the L…EPSS 1.7%8.8CVE-2021-43305Clickhouse heap-based buffer overflow vulnerabilityHeap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the L…EPSS 1.7%8.8CVE-2018-14668Clickhouse cross-site request forgery vulnerabilityIn ClickHouse before 1.1.54388, "remote" table function allowed arbitrary symbols in "user", "password" and "default_database" fields which led to Cr…EPSS 0.72%

Source: NIST National Vulnerability Database (record CVE-2024-22412), CISA KEV, FIRST EPSS (scores of 2026-11-12). This page is refreshed as NVD updates the record.