CVE-2021-42388
8.1
HIGH
CVSS 3.1
EPSS 0.28%
Description
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.
How to fix CVE-2021-42388
To remediate CVE-2021-42388, upgrade the affected package to a fixed version below.
- —upgrade to 18.16.1+ds-7.2+deb11u1 or later
Is CVE-2021-42388 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 18.16.1+ds-7.2+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |