CVE-2021-42388

Published Mar 14, 2022 CVSS 3.1 · 8.1 High EPSS 1.6% KEV · Not listed
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 the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation.

Remediation

No solution or workaround provided in the CVE record

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-29359 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 lower bounds of the source of the copy operation.
Ubuntu USN Ubuntu USN USN-6933-1 ClickHouse vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00177}

epss

{'score': 0.00188}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Aug 4, 2024, 3:30 AM
Reserved
Oct 14, 2021, 12:00 AM
Status
Modified
Published
Mar 14, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:09 AM