Vulnerability · Published Mar 14, 2022 · Assigned by JFROG
CVE-2021-43304
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.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)1.7%top 23.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | clickhouse | 18.16.1+ds-7.3 | DEBIAN-CVE-2021-43304 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yandex | clickhouse | unspecified – before 21.10.2.15-stable |
Weakness: CWE-122