patchminder
No public exploit found CVE-2024-6873

Remote code executionin ClickHouse.

Published 1 Aug 2024 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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 now
  • Upgrade ClickHouse to v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763, v24.6.1.4423-stable or later, whichever matches your release line.
  • Can't upgrade today? ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ClickHouse
v23.8.0 to before v23.8.15.35-lts
v23.8.15.35-lts
CVE record
ClickHouse
v24.3.0 to before v24.3.4.147-lts
v24.3.4.147-lts
CVE record
ClickHouse
v24.4.0 to before v24.4.2.141-stable
v24.4.2.141-stable
CVE record
ClickHouse
v24.5.0 to before v24.5.1.1763
v24.5.1.1763
CVE record
ClickHouse
v24.6.0 to before v24.6.1.4423-stable
v24.6.1.4423-stable
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Jul 2024
    CVE ID reserved by ClickHouse.
  2. 1 Aug 2024
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other ClickHouse vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-6873: Remote code execution in ClickHouse. https://patchminder.com/cve/cve-2024-6873/ (accessed 5 December 2026).