Skip to main content
← All vulnerabilities
CVE-2024-6873

Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.

Published
Last modified
published
Not listed in CISA KEV
Fix
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
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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 .

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • clickhouse

    From v23.8.0 · fixed in v23.8.15.35-lts; From v24.3.0 · fixed in v24.3.4.147-lts; From v24.4.0 · fixed in v24.4.2.141-stable; From v24.5.0 · fixed in v24.5.1.1763; From v24.6.0 · fixed in v24.6.1.4423-stable

References 1

GitHub · ClickHouse/ClickHouse