Heap Out-of-Bounds Read Vulnerability in Clickhouse by Yandex
CVE-2021-42388

8.1HIGH

Key Information:

Vendor

Yandex

Vendor
CVE Published:
14 March 2022

What is CVE-2021-42388?

A heap out-of-bounds read vulnerability exists in Clickhouse's LZ4 compression codec when processing poorly structured user queries. The flaw occurs during the LZ4::decompressImpl() function, where a 16-bit unsigned offset provided by the user is read from compressed data. This offset is subsequently used in operations without adequate validation, potentially leading to exploitation by malicious actors. Users of Clickhouse should be vigilant and apply the necessary security updates to mitigate this risk.

Affected Version(s)

clickhouse < 21.10.2.15-stable

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.