CVE-2023-48704 Unauthenticated heap buffer overflow in Gorrila codec decompression
Unauthenticated attackers can crash the ClickHouse server via a heap buffer overflow in the Gorilla 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-48704?
CVE-2023-48704 is a high-severity memory corruption vulnerability in ClickHouse, published on 22 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 Gorilla codec that crashes the ClickHouse server process. This attack does not require authentication. This issue has been addressed in ClickHouse Cloud version 23.9.2.47551 and ClickHouse versions 23.10.5.20, 23.3.18.15, 23.8.8.20, and 23.9.6.20.
Which versions are affected by CVE-2023-48704?
It affects 2 products.
Products include Clickhouse Clickhouse, Clickhouse Clickhouse Cloud.
How do I fix CVE-2023-48704?
No fix has been published for CVE-2023-48704 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-48704 being exploited?
There is no known exploitation of CVE-2023-48704 in the wild and no public exploit code.
Other vulnerabilities in ClickHouse
Sources
Also known as GHSA-5rmf-5g48-xv63, UBUNTU-CVE-2023-48704.