CVE-2024-6873

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

HIGH
8.1
CVSS Score
Published: August 1, 2024 at 03:57 PM UTC
Updated: June 17, 2026 at 08:18 AM UTC
1 product affected across 1 vendorClickHouse

Using ClickHouse by ClickHouse?

Get instant alerts when new vulnerabilities affect ClickHouse - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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 .

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v23.8.0 ≤ v < v23.8.15.35-ltsv24.3.0 ≤ v < v24.3.4.147-ltsv24.4.0 ≤ v < v24.4.2.141-stablev24.5.0 ≤ v < v24.5.1.1763v24.6.0 ≤ v < v24.6.1.4423-stable23.8.024.3.024.4.024.5.024.6.0
Affected range stops below v23.8.15.35-lts, so it looks safe — our inference, not a vendor statement
Affected range stops below v24.3.4.147-lts, so it looks safe — our inference, not a vendor statement
Affected range stops below v24.4.2.141-stable, so it looks safe — our inference, not a vendor statement
Affected range stops below v24.5.1.1763, so it looks safe — our inference, not a vendor statement
Affected range stops below v24.6.1.4423-stable, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHClickHouse
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-122

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card