CVE-2023-48704: Unauthenticated heap buffer overflow in Gorrila codec decompression
Vulnerability summary
CVE-2023-48704 is a high (CVSS 7.5) Classic Buffer Overflow vulnerability in clickhouse. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.
Timeline
- 22-12-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.50% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Clickhouse2 products
- clickhouse< 23.9.2.47551 | < 23.10.5.20 | < 23.3.18.15 | < 23.8.8.20 | < 23.9.6.20 | ≥ 23.3, < 23.3.18.15 | ≥ 23.8, < 23.8.8.20 | ≥ 23.9, < 23.9.6.20 | ≥ 23.10, < 23.10.5.20
- clickhouse_cloud< 23.9.2.47551
Ubuntu1 product
- clickhouseAll versions (No fix recorded)
2 vendors · 3 products
References
4 links- github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5rmf-5g48-xv63X Refsource CONFIRMREPORTVendor Advisory