Vulnerability · Published Mar 14, 2022 · Assigned by JFROG
CVE-2021-43305
High 8.8
In plain English
A high-severity heap buffer overflow in clickhouse from yandex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | clickhouse | 18.16.1+ds-7.3 | DEBIAN-CVE-2021-43305 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yandex | clickhouse | unspecified – before 21.10.2.15-stable |
Weakness: CWE-122