Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Clickhouse | Clickhouse | < 21.10.2.15 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing ListThird Party Advisory
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2021-43304?
CVE-2021-43304 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 arbitrar...
How severe is CVE-2021-43304?
CVE-2021-43304 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-43304?
Check the references section above for vendor advisories and patch information. Affected products include: Clickhouse Clickhouse, Debian Debian Linux.