CVE-2024-22412
CVE-2024-22412 · ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 2.4 · Faible · EPSS 0,6%
- Publication
- Mise à jour
Pile logicielle: system · database
Produits et versions concernés
clickhouse
- Versions du logiciel
- = 23.1: Concernée
- < 24.0.2.54535: Concernée
Aucun correctif publié
clickhouse Debian:12
- Versions du logiciel
- 18.16.1+ds-7.3
- 18.16.1+ds-7.4
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
clickhouse Ubuntu:20.04:LTS
- Versions du logiciel
- 18.16.1+ds-5
- 18.16.1+ds-5ubuntu1
- 18.16.1+ds-5ubuntu2
- 18.16.1+ds-6ubuntu1
- 18.16.1+ds-7
- 18.16.1+ds-7ubuntu0.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
clickhouse Ubuntu:24.04:LTS
- Versions du logiciel
- 18.16.1+ds-7.4
- 18.16.1+ds-7.4build1
- 18.16.1+ds-7.4build2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-45h5-f7g3-gr8r
- https://github.com/ClickHouse/ClickHouse/pull/58611
- https://github.com/ClickHouse/ClickHouse/blob/bd17ee769e337906c4b1f404861e042ad72fcbfc/src/Interpreters/executeQuery.cpp#L1013-L1015
- https://nvd.nist.gov/vuln/detail/CVE-2024-22412