p PatchFirst

CVE-2021-43305

CVE-2021-43305

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 1.7% · Fix available

Published
Updated

Stack: system · database

Affected products and versions

  • clickhouse

    Versions
    • ≥ unspecified, < 21.10.2.15-stable: Affected (custom)

    Update to 21.10.2.15-stable

  • clickhouse Debian:12

    Affected ranges
    • ECOSYSTEM: < 18.16.1+ds-7.3

    Update to 18.16.1+ds-7.3

  • clickhouse Ubuntu:20.04:LTS

    Versions
    • 18.16.1+ds-5
    • 18.16.1+ds-5ubuntu1
    • 18.16.1+ds-5ubuntu2
    • 18.16.1+ds-6ubuntu1
    • 18.16.1+ds-7
    Affected ranges
    • ECOSYSTEM: < 18.16.1+ds-7ubuntu0.1

    Update to 18.16.1+ds-7ubuntu0.1

Original sources

Check your server →