CVE-2024-6873: clickhouse Heap-based Buffer Overflow
Vulnerability summary
CVE-2024-6873 is a high (CVSS 8.1) Heap-based Buffer Overflow vulnerability in clickhouse. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 53.4% of scored vulnerabilities.
Timeline
- 01-08-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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 .
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
EPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.72% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Clickhouse1 product
- clickhouse≥ v23.8.0, < v23.8.15.35-lts | ≥ v24.3.0, < v24.3.4.147-lts | ≥ v24.4.0, < v24.4.2.141-stable | ≥ v24.5.0, < v24.5.1.1763 | ≥ v24.6.0, < v24.6.1.4423-stable
Ubuntu1 product
- clickhouseAll versions (No fix recorded)
2 vendors · 2 products