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.

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12clickhouse18.16.1+ds-7.3DEBIAN-CVE-2021-43305

Affected products (as reported)

VendorProductVersions
yandex clickhouse unspecified – before 21.10.2.15-stable

Weakness: CWE-122

References