CVE-2024-22412

ClickHouse's Role-based Access Control is bypassed when query caching is enabled.

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.

Category

2.4
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.01%
Affected: ClickHouse ClickHouse
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-22412?
CVE-2024-22412 has been scored as a low severity vulnerability.
How to fix CVE-2024-22412?
To fix CVE-2024-22412, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-22412 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-22412 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-22412?
CVE-2024-22412 affects ClickHouse ClickHouse.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.