CVE-2021-42387 - CVE House
Back to Database
Status published High CVE-2021-42387

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing...

Vulnerability 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 upper bounds of the source of the copy operation.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-42387

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

clickhouse
Vulnerable Versions:
unspecified

Timeline

Official Publish: March 14th, 2022
Last Modified: August 4th, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weaknesses (CWE)