Vulnerability · Published Aug 1, 2024 · Assigned by ClickHouse

CVE-2024-6873Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.

High 8.1

In plain English

A high-severity heap buffer overflow in ClickHouse from ClickHouse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.7%top 45.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:24.04:LTSclickhouseno fix listedUBUNTU-CVE-2024-6873

Affected products (as reported)

VendorProductVersions
ClickHouse ClickHouse v23.8.0 – before v23.8.15.35-ltsv24.3.0 – before v24.3.4.147-ltsv24.4.0 – before v24.4.2.141-stablev24.5.0 – before v24.5.1.1763v24.6.0 – before v24.6.1.4423-stable

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H

References