CVE-2021-42388Clickhouse
High 8.1
Follow: this CVE · Clickhouse · Clickhouse We alert you by email or Slack (account required).
- 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 lower bounds of the source of the copy operation.
What to do
- Apply the vendor's security update for Clickhouse.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| clickhouse | clickhouse | < 21.10.2.15 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- jfrog.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory