CVE-2021-43305

published 14 Mar 2022 · updated 4 Aug 2024

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 21.10.2.15-stable.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Yandex<21.10.2.15-stable21.10.2.15-stable

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-43305 severity on Zeptric[![CVE-2021-43305](https://zeptric.io/badge/cve/CVE-2021-43305.svg)](https://zeptric.io/cve/CVE-2021-43305)