5.5
CVSSv2

CVE-2021-42388

Published: 14/03/2022 Updated: 08/12/2022
CVSS v2 Base Score: 5.5 | Impact Score: 4.9 | Exploitability Score: 8
CVSS v3 Base Score: 8.1 | Impact Score: 5.2 | Exploitability Score: 2.8
VMScore: 490
Vector: AV:N/AC:L/Au:S/C:P/I:N/A:P

Vulnerability Summary

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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

yandex clickhouse

debian debian linux 10.0

Vendor Advisories

Debian Bug report logs - #1008216 clickhouse: Multiple CVEs in clickhouse - heap overflows and out of bounds reads in LZ4 compression (CVE-2021-42387 CVE-2021-42388 CVE-2021-43304 CVE-2021-43305) Package: src:clickhouse; Maintainer for src:clickhouse is Alexander GQ Gerasiov <gq@debianorg>; Reported by: Neil Williams <cod ...