CVE-2021-43304
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.67% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
yandex clickhousefrom unspecified before 21.10.2.15-stableCVE List
clickhouse clickhousebefore 21.10.2.15NVD
debian debian_linux10.0NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Un Desbordamiento del búfer de la pila en el códec de compresión LZ4 de Clickhouse cuando es analizada una consulta maliciosa. No es verificado que las operaciones de copia en el bucle LZ4::decompressImpl y especialmente la operación de copia arbitraria wildCopy(copy_amount)(op, ip, copy_end), no excedan los límites del buffer de destino

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43304 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-43304 changed 2026-06-17Public domain