CVE-2021-43305

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
14/03/2022
Last modified:
25/06/2025

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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* 21.10.2.15 (excluding)
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*