CVE-2021-42387
HIGH
Published Mar 14, 20224y ago · Modified Jun 17, 20262w ago
8.1 CVSS 3.1
Published Mar 14, 2022 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-125 Out-of-bounds Read Memory Safety
Affected Products 2
| Vendor | Product | Version | Range |
|---|---|---|---|
| clickhouse | clickhouse | * | <21.10.2.15 |
| debian | debian_linux | 10.0 | any |
References 2
- jfrog.com https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.