Heap-based buffer overflow in Yandex clickhouse
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits.
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-18802 Out-of-bounds read in Yandex clickhousePriority LOW 38
- TI-2021-18801 Out-of-bounds read in Yandex clickhousePriority LOW 38
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43304
- 2026-10-03 Alias added: GHSA-4px5-4p3v-7568
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-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
- TI-2026-20907 Punto Switcher 4.5.0.583 Unquoted Search Path via WinExec CVSS 4.0HIGH 8.5
Sources
- CVE-2021-43304 · CVE Program
- CVE-2021-43304 · NVD
- FIRST EPSS
- GHSA-4px5-4p3v-7568 · 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