Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-22412: ClickHouse is an open-source column-oriented database management system

25
Routine
LOW 2.4UPGRADEUPGRADE

CVE-2024-22412 is a low-severity flaw (CVSS 2.4) affecting clickhouse, clickhouse cloud. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 ClickHo

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score2.4 (Low)
Attack vectorAdjacent network
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance0.6% (top 52%)
CISA exploited listNo
WeaknessCWE-863
Published2024-03-18
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: clickhouse

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

clickhouse clickhouse UPGRADE
Affected: >= 23.3.0.0 and < 23.3.22.3 · >= 23.8.0.0 and < 23.8.12.13 · >= 23.12.0.0 and < 23.12.6.19 · >= 24.0.0.0 and < 24.1.1.2048
Fixed in: 23.3.22.3, 23.8.12.13, 23.12.6.19, 24.1.1.2048
Safe to downgrade to: a release before 23.3.0.0
1. Check installed version
apt-cache policy clickhouse || rpm -q clickhouse || clickhouse --version
2. UPGRADE to 23.3.22.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade clickhouse
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade clickhouse
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 23.3.0.0 (Debian / Ubuntu)
apt-cache madison clickhouse sudo apt install clickhouse=<VERSION_BEFORE_23.3.0.0> sudo apt-mark hold clickhouse
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list clickhouse sudo dnf downgrade clickhouse-<VERSION_BEFORE_23.3.0.0> sudo dnf versionlock add clickhouse
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
clickhouse clickhouse cloud UPGRADE
Affected: < 24.0.2.54535
Fixed in: 24.0.2.54535
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy clickhouse-cloud || rpm -q clickhouse-cloud || clickhouse-cloud --version
2. UPGRADE to 24.0.2.54535 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade clickhouse-cloud
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade clickhouse-cloud
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-22412?

clickhouse: upgrade to 23.3.22.3, 23.8.12.13, 23.12.6.19, 24.1.1.2048; clickhouse cloud: upgrade to 24.0.2.54535. Exact commands for each OS are on this page.

Is CVE-2024-22412 being exploited?

CVE-2024-22412 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-22412 affect?

CVE-2024-22412 affects clickhouse, clickhouse cloud. Severity is low (CVSS 2.4). 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

How urgent is CVE-2024-22412?

Priority 25/100. Public exploit reference

Software pages

GitHub vulnerabilities · ClickHouse vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.