CVE-2021-43304

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductClickhouse
PublishedMar 14, 2022
First seenMar 14, 2022
Weakness typeCWE-122CWE-122

How to fix

Update
  • clickhouse clickhouse21.10.2.15 or later

Affected products

ProductAffected versionsFixed in
clickhouse clickhousev < 21.10.2.1521.10.2.15
debian debian_linux10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-43304 · Clickhouse · Dark Radar