← Database

CVE-2021-43304

HIGH CVSS: 8.8 Published: 2022-03-14 Modified: 2026-06-17

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(op, ip, copy_end), don’t exceed the destination buffer’s limits.

Affected Platforms

Debian Debian LinuxClickhouse Clickhouse

Weakness Type

CWE-122, CWE-787

References