cbcvebase.
CVE-2021-43305
published 2022-03-14

CVE-2021-43305: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the…

PriorityP351high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.65%
73.5th percentile
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.

Affected

6 ranges
VendorProductVersion rangeFixed in
clickhouseclickhouse< 21.10.2.1521.10.2.15
clickhouseclickhouse>= 0 < 18.16.1+ds-7.2+deb11u118.16.1+ds-7.2+deb11u1
clickhouseclickhouse>= 0 < 18.16.1+ds-7.318.16.1+ds-7.3
clickhouseclickhouse>= 0 < 18.16.1+ds-7ubuntu0.118.16.1+ds-7ubuntu0.1
debianclickhouse< clickhouse 18.16.1+ds-7.3 (bookworm)clickhouse 18.16.1+ds-7.3 (bookworm)
debiandebian_linux

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.