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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published: 2022-03-14T00:00:00

Updated: 2024-08-04T03:55:29.085Z

Reserved: 2021-11-03T00:00:00

Link: CVE-2021-43305

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-03-14T23:15:08.203

Modified: 2022-12-08T03:24:00.500

Link: CVE-2021-43305

cve-icon Redhat

No data.