Buffer overflow in Clickhouse
CVE-2021-43304
Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (75.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Clickhouse
- Yandex Clickhouse — versions unspecified
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms (Exploit, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/11/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-43304?
- CVE-2021-43304 is a high-severity vulnerability in Clickhouse, classified under Heap-based Buffer Overflow. CVSS score: 8.8/10. Published 2022-03-14.
- How severe is CVE-2021-43304?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-43304 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.