Buffer overflow in Clickhouse
CVE-2021-43305
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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
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, 77.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Clickhouse
- Yandex Clickhouse — versions unspecified
- Debian Linux — versions 10.0
Weakness classification (CWE)
References
- jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms (Exploit, Third Party Advisory)
- [debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security update (mailing-list, Mailing List, Third Party Advisory)