Security Advisory

CVE-2021-43305

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2022-03-14 00:00:00
Last updated 2024-08-04 03:55:29
Assigner JFROG
State PUBLISHED

Description

Heap buffer overflow in Clickhouses 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.