CVE-2021-42388CWE-125

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query

published March 14, 2022

CVSS
—
EPSS
2%
Percentile
75.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01573 · 75.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2022-03-14T00:00Z
EPSS history
Timeline
  • 14 MAR 00:00Z
    Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query
    cvelistv5