Out-of-bounds read in Yandex clickhouse
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Yandex | clickhouse | before 21.10.2.15-stable | 21.10.2.15-stable | Patch available | CNA |
- clickhouse VendorYandex Affected before 21.10.2.15-stable Fixed in 21.10.2.15-stable Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* | before 21.10.2.15 | Vulnerable | ClickHouse |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* Versions before 21.10.2.15 Vulnerable ·ClickHouse
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · CNA clickhouse (yandex) Fixed in 21.10.2.15-stable
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
yandex clickhouse 21.10.2.15-stable
7 records Highest priority Priority MEDIUM 2 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2021-19298 Heap-based buffer overflow in Yandex clickhousePriority MEDIUM 41
- TI-2021-19297 Heap-based buffer overflow in Yandex clickhousePriority MEDIUM 41
- TI-2021-18802 Out-of-bounds read in Yandex clickhousePriority LOW 38
Timeline
- 2026-10-02 Threatist record created from CVE-2021-42387
- 2026-10-03 Alias added: GHSA-cf9g-639p-3wvv
References
More Yandex vulnerabilities
- TI-2023-14000 An issue found in Yandex Navigator v.6.60 for Android allows unauthorized apps to cause… CVSS 3.1HIGH 7.8
- TI-2023-14001 An issue found in Yandex Navigator v.6.60 for Android allows unauthorized apps to cause a… CVSS 3.1MEDIUM 5.5
- TI-2021-19298 Heap-based buffer overflow in Yandex clickhouse CVSS 3.1HIGH 8.8
- TI-2021-19297 Heap-based buffer overflow in Yandex clickhouse CVSS 3.1HIGH 8.8
- TI-2024-06006 DLL Hijacking in Yandex Browser CVSS 4.0HIGH 8.4
- TI-2016-08707 Cryptographic flaw in HackerOne tomita-parser node module CVSS 3.0HIGH 8.1
Sources
- CVE-2021-42387 · CVE Program
- CVE-2021-42387 · NVD
- FIRST EPSS
- GHSA-cf9g-639p-3wvv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences