Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-42387 Details
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 upper bounds of the source of the copy operation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms | CVE | ExploitThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html | CVE | Mailing ListThird Party Advisory |
| https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms | [email protected] | ExploitThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| clickhouse clickhouse | < 21.10.2.15 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 25, 2025 | CPE Deprecation Remap | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 3, 2022 | Modified Analysis | [email protected] |
| Nov 4, 2022 | CVE Modified | [email protected] |
| Mar 22, 2022 | Initial Analysis | [email protected] |