CVE-2024-22412: ClickHouse's Role-based Access Control is bypassed when query caching is enabled.

Published Mar 18, 2024
·
Updated

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 Software

6 affected components
Clickhouse Clickhouse<24.0.2.54535
Clickhouse Clickhouse>=23.3.0.0<23.3.22.3
Clickhouse Clickhouse>=23.8.0.0<23.8.12.13
Clickhouse Clickhouse>=23.12.0.0<23.12.6.19
Clickhouse Clickhouse>=24.0.0.0<24.1.1.2048
Clickhouse ClickHouse Cloud<24.0.2.54535

Event History

Mar 18, 2024
CVE Published
via MITRE·08:51 PM
Data Sourced
via MITRE·08:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-22412?

CVE-2024-22412 is considered a high severity vulnerability due to its potential to bypass role-based access controls.

2

How do I fix CVE-2024-22412?

To fix CVE-2024-22412, upgrade to ClickHouse version 24.0.2.54535 or later.

3

What versions of ClickHouse are affected by CVE-2024-22412?

CVE-2024-22412 affects ClickHouse versions prior to 24.0.2.54535 and version 23.1.

4

What is the type of vulnerability in CVE-2024-22412?

CVE-2024-22412 is a query caching vulnerability that bypasses role-based access control mechanisms.

5

Are there any exploits known for CVE-2024-22412?

As of now, there are no publicly known exploits specifically targeting CVE-2024-22412.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203