Live threats

All CVEs / Clickhouse

CVE-2021-42387Clickhouse

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Mar 14, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

What happens

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the upper bounds of the source of the copy operation.

Original NVD text.

What to do

  1. Apply the vendor's security update for Clickhouse.

Affected products (CPE)

VendorProductVersions
clickhouseclickhouse< 21.10.2.15
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.