Description
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.
Published: 2022-03-14
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3176-1 clickhouse security update
EUVD EUVD EUVD-2021-30247 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.
History

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00174}

epss

{'score': 0.00185}


Wed, 25 Jun 2025 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Clickhouse
Clickhouse clickhouse
CPEs cpe:2.3:a:yandex:clickhouse:*:*:*:*:*:*:*:* cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:*
Vendors & Products Yandex
Yandex clickhouse
Clickhouse
Clickhouse clickhouse

Subscriptions

Clickhouse Clickhouse
Debian Debian Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published:

Updated: 2024-08-04T03:55:28.381Z

Reserved: 2021-11-03T00:00:00.000Z

Link: CVE-2021-43304

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-14T23:15:08.157

Modified: 2025-06-25T20:49:29.357

Link: CVE-2021-43304

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses