Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
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 .
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ClickHouse | ClickHouse | v23.8.0 to before v23.8.15.35-lts; v24.3.0 to before v24.3.4.147-lts; v24.4.0 to before v24.4.2.141-stable; v24.5.0 to before v24.5.1.1763; v24.6.0 to before v24.6.1.4423-stable | v23.8.15.35-lts, v24.3.4.147-lts, v24.4.2.141-stable, v24.5.1.1763, v24.6.1.4423-stable | Patch available | CNA |
- ClickHouse VendorClickHouse Affected v23.8.0 to before v23.8.15.35-lts; v24.3.0 to before v24.3.4.147-lts; v24.4.0 to before v24.4.2.141-stable; v24.5.0 to before v24.5.1.1763; v24.6.0 to before v24.6.1.4423-stable 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 Patch available CNA
Remediation
- Fix · CNA ClickHouse (ClickHouse) 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
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6873
More ClickHouse vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2024-15707 ClickHouse Client Certificate Password Exposure CVSS 3.1HIGH 8.8
- TI-2024-27624 ClickHouse v24.3.3.102 was discovered to contain a buffer overflow via the component DB::evaluateConstantExpressionImpl. CVSS 3.1HIGH 7.5
- TI-2024-14986 ClickHouse's Role-based Access Control is bypassed when query caching is enabled. CVSS 3.1MEDIUM 4.9
- TI-2018-10534 Improper input validation in ClickHouse CVSS 3.0CRITICAL 9.8
- TI-2018-10533 Incorrect configuration in deb package in ClickHouse before 1.1.54131 could lead to unauthorized use of the database. CVSS 3.0CRITICAL 9.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences