CVE-2021-42388
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.57% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 74.9% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-14 00:00Z4 YR AGO
- Last updated
- 2024-08-04 03:30Z2 YR AGO
- Reserved
- 2021-10-14
- Assigning CNA
- JFROG
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.1
- Document digest
- 3fc2e4ccd37f3a285739558823b67b8078dc6bd65081e4b48e4eb2df34f5f665
05 Affected products
06 References
- jfrog.comhttps://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms
- lists.debian.org[debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security updatehttps://lists.debian.org/debian-lts-announce/2022/11/msg00002.html
07 Fixed in
Debian 12
- clickhouse Fixed in 18.16.1+ds-7.3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- clickhouse Fixed in 18.16.1+ds-7ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.