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.
References
Link | Resource |
---|---|
https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms | Exploit Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html | Mailing List Third Party Advisory |
Information
Published : 2022-03-14 16:15
Updated : 2022-12-07 19:24
NVD link : CVE-2021-43305
Mitre link : CVE-2021-43305
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
yandex
- clickhouse
debian
- debian_linux