Heap Buffer Overflow in Clickhouse's LZ4 Compression Codec

Heap Buffer Overflow in Clickhouse's LZ4 Compression Codec

CVE-2021-43304 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.