Skip to content
OpenAdvisories
Unscored CVE-2021-43304 EUVD-2021-30247GHSA-4px5-4p3v-7568

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operation…

Published Mar 14, 2022 · Updated Aug 4, 2024 · Assigned by JFROG

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.

Affected products

VendorProductAffectedFixed
yandex clickhouse unspecified – < 21.10.2.15-stable 21.10.2.15-stable

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 clickhouse 18.16.1+ds-7.3 —
Debian 10 clickhouse 18.16.1+ds-4+deb10u1 DLA-3176-1

Advisories 1

References