What’s Vulnerable › Vulnerabilities

CVE-2021-43304

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.

Affected products

How to fix

Upgrade to a fixed version: ClickHouse 21.10.2.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-43304 or the next vulnerability affects your stack