Server crash via untrusted Field type deserialization
Published Aug 1, 2024 · Updated Aug 2, 2024
Heap-based buffer overflow in ClickHouse allows remote attackers to crash the server through an unauthenticated native-interface request. getBinaryValue creates a Field from an attacker-controlled type value, and affected builds fail to reject invalid types during binary deserialization. Unauthenticated network access to the native interface is sufficient; execution-flow redirection is limited to a 256-byte memory range, with no demonstrated code execution.
Summary
What happened
Heap-based buffer overflow in ClickHouse allows remote attackers to crash the server through an unauthenticated native-interface request. getBinaryValue creates a Field from an attacker-controlled type value, and affected builds fail to reject invalid types during binary deserialization. Unauthenticated network access to the native interface is sufficient; execution-flow redirection is limited to a 256-byte memory range, with no demonstrated code execution.
The record
- CVE
- CVE-2024-6873
- Published
- Aug 1, 2024
- Updated
- Aug 2, 2024
- Vendor
- ClickHouse
- Product
- ClickHouse
- Classifications
- CWE-122, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 1, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=v23.8.0 <v23.8.15.35-lts
- Affected versionversion=v24.3.0 <v24.3.4.147-lts
- Affected versionversion=v24.4.0 <v24.4.2.141-stable
- Affected versionversion=v24.5.0 <v24.5.1.1763
- Affected versionversion=v24.6.0 <v24.6.1.4423-stable
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo