Maple Labs

CVE search · CVE-2021-42387

CVE-2021-42387

high 8.1

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.

Details

Status
Modified
Published
Last changed
Source
reefs@jfrog.com
Weakness
CWE-125

Severity

VersionScoreVectorSource
CVSS 3.1 high 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H nvd@nist.govPrimary
CVSS 2.0 medium 5.5 AV:N/AC:L/Au:S/C:P/I:N/A:P nvd@nist.govPrimary

Affected products

Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.

References