CVE-2021-42387

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.1 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
JFROGCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 37%
VendorProductVersion
yandexclickhouse
𝑥
< 21.10.2.15
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
clickhouse
bullseye
18.16.1+ds-7.2+deb11u1
fixed
bookworm
18.16.1+ds-7.3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
clickhouse
noble
not-affected
mantic
ignored
lunar
ignored
impish
ignored
focal
Fixed 18.16.1+ds-7ubuntu0.1
released
xenial
ignored
trusty
ignored