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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
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-30248 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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
Ubuntu USN Ubuntu USN USN-6933-1 ClickHouse vulnerabilities
History

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

Type Values Removed Values Added
Metrics epss

{'score': 0.00327}

epss

{'score': 0.00348}


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:29.085Z

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

Link: CVE-2021-43305

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

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

Link: CVE-2021-43305

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses