Skip to main content

Clickhouse CVE-2024-22412

MEDIUM
Incorrect Authorization (CWE-863)
2024-03-18 security-advisories@github.com
4.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
CVE Published
Mar 18, 2024 - 21:15 nvd
MEDIUM 4.9

DescriptionNVD

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.

AnalysisAI

ClickHouse is an open-source column-oriented database management system. Rated medium severity (CVSS 4.9), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.

Technical ContextAI

This vulnerability is classified as Incorrect Authorization (CWE-863), which allows attackers to bypass authorization checks to access restricted resources. 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. Affected products include: Clickhouse, Clickhouse Clickhouse Cloud. Version information: version 24.0.2.54535.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Review and test authorization logic, implement consistent access control checks, use centralized authorization framework.

CVE-2024-23689 HIGH POC
8.8 Jan 19

Exposure of sensitive information in exceptions in ClichHouse's clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc, and co

CVE-2024-41436 HIGH POC
7.5 Sep 03

ClickHouse v24.3.3.102 was discovered to contain a buffer overflow via the component DB::evaluateConstantExpressionImpl.

CVE-2023-47118 CRITICAL
9.8 Dec 20

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports

CVE-2019-16535 CRITICAL
9.8 Dec 30

In all versions of ClickHouse before 19.14, an OOB read, OOB write and integer underflow in decompression algorithms can

CVE-2019-16536 HIGH
8.2 May 21

Stack overflow leading to DoS can be triggered by a malicious authenticated client in Clickhouse before 19.14.3.3. Rated

CVE-2023-48704 HIGH
7.5 Dec 22

ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports i

CVE-2023-48298 HIGH
7.5 Dec 21

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports

CVE-2019-15024 MEDIUM
6.5 Dec 30

In all versions of ClickHouse before 19.14.3, an attacker having write access to ZooKeeper and who is able to run a cust

CVE-2025-1386 MEDIUM
5.9 Apr 11

When using the ch-go library, under a specific condition when the query includes a large, uncompressed malicious externa

CVE-2019-18657 MEDIUM
5.3 Oct 31

ClickHouse before 19.13.5.44 allows HTTP header injection via the url table function. Rated medium severity (CVSS 5.3),

Share

CVE-2024-22412 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy