CVE-2021-42388
publishedclickhouse vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yandex | — | clickhouseunspecified to < 21.10.2.15-stable | Affected | Not stated | JFROG |
| Debian | buster | clickhouse | Advisory build | 18.16.1+ds-4+deb10u1 | DLA-3176-1 |
| Ubuntu | focal | clickhouse | Advisory build | 18.16.1+ds-7ubuntu0.1 | USN-6933-1 |
| Ubuntu | focal | clickhouse-client | Advisory build | 18.16.1+ds-7ubuntu0.1 | USN-6933-1 |
| Ubuntu | focal | clickhouse-common | Advisory build | 18.16.1+ds-7ubuntu0.1 | USN-6933-1 |
| Ubuntu | focal | clickhouse-server | Advisory build | 18.16.1+ds-7ubuntu0.1 | USN-6933-1 |
| Ubuntu | focal | clickhouse-tools | Advisory build | 18.16.1+ds-7ubuntu0.1 | USN-6933-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yandex | clickhouse | unspecified to < 21.10.2.15-stable (affected · custom) | JFROG · cna |
Weaknesses
1- CWE-125
References
2- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms
- [debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security update https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html
Provider assertions
2JFROG · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5bd53132a4315fc014b4e85b261add7a02f398d95e025315773f657d308f01d1
- Ingested
- 23 Sep 2026, 07:56:21 UTC
- Source record
- Official CVE record