CVE-2024-6873Specially crafted request could caused undefined behaviour which may lead to Remote Code…
It is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited. Fixes have been merged to all currently supported version of ClickHouse. If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit https://github.com/ClickHouse/ClickHouse/pull/64024 .
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | clickhouse | Under investigation | UBUNTU-CVE-2024-6873 | |
| Ubuntu 20.04 | clickhouse | Fix pending | UBUNTU-CVE-2024-6873 |
What the vendor says
As published in the CVE record by ClickHouse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ClickHouse: affected: v23.8.0 to before v23.8.15.35-lts, v24.3.0 to before v24.3.4.147-lts, v24.4.0 to before v24.4.2.141-stable, v24.5.0 to before v24.5.1.1763, v24.6.0 to before v24.6.1.4423-stable; fixed in
v23.8.15.35-lts,v24.3.4.147-lts,v24.4.2.141-stable,v24.5.1.1763,v24.6.1.4423-stable
Workaround: ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.