CVE-2023-47118 Heap buffer overflow in T64 codec decompression
Unauthenticated attackers can crash the ClickHouse server via a heap buffer overflow in the T64 codec decompression logic.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-47118?
CVE-2023-47118 is a high-severity memory corruption vulnerability in ClickHouse, published on 20 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the native interface exposed by default on port 9000/tcp, triggering a bug in the decompression logic of T64 codec that crashes the ClickHouse server process. This attack does not require authentication. Note that this exploit can also be triggered via HTTP protocol, however, the attacker will need a valid credential as the HTTP authentication take places first. This issue has been fixed in version 23.10.2.13-stable, 23.9.4.11-stable, 23.8.6.16-lts and 23.3.16.7-lts.
Which versions are affected by CVE-2023-47118?
It affects 2 products.
Products include Clickhouse Clickhouse, Clickhouse Clickhouse Cloud.
How do I fix CVE-2023-47118?
No fix has been published for CVE-2023-47118 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-47118 being exploited?
There is no known exploitation of CVE-2023-47118 in the wild and no public exploit code.
Other vulnerabilities in ClickHouse
Sources
Also known as GHSA-g22g-p6q2-x39v, UBUNTU-CVE-2023-47118.