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 | 
| 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 | 
Configurations
                    History
                    25 Jun 2025, 20:49
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* | |
| First Time | Clickhouse clickhouse Clickhouse | 
21 Nov 2024, 06:29
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms - Exploit, Third Party Advisory | |
| References | () https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html - Mailing List, Third Party Advisory | 
04 Nov 2022, 08:15
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | 
22 Mar 2022, 15:02
| Type | Values Removed | Values Added | 
|---|---|---|
| CVSS | v2 : v3 : | v2 : 6.5 v3 : 8.8 | 
| CWE | CWE-787 | |
| References | (MISC) https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms - Exploit, Third Party Advisory | |
| CPE | cpe:2.3:a:yandex:clickhouse:*:*:*:*:*:*:*:* | 
14 Mar 2022, 23:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2022-03-14 23:15
Updated : 2025-06-25 20:49
NVD link : CVE-2021-43305
Mitre link : CVE-2021-43305
CVE.ORG link : CVE-2021-43305
JSON object : View
Products Affected
                debian
- debian_linux
clickhouse
- clickhouse
