CVE-2024-6873

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

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 .

Remediation

Workaround:

  • ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.

Category

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.56%
Affected: ClickHouse ClickHouse
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-6873?
CVE-2024-6873 has been scored as a high severity vulnerability.
How to fix CVE-2024-6873?
As a workaround for remediating CVE-2024-6873: ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.
Is CVE-2024-6873 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-6873 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-6873?
CVE-2024-6873 affects ClickHouse ClickHouse.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.