CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Clickhouse

CVE-2021-43305
Clickhouse vulnerability

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 products

Clickhouse, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Clickhouse runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Clickhouse products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.