CVE-2021-42387
clickhouse - security update
8.1
HIGH
CVSS 3.1
EPSS 0.24%
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 upper bounds of the source of the copy operation.
How to fix CVE-2021-42387
To remediate CVE-2021-42387, upgrade the affected package to a fixed version below.
- —upgrade to 18.16.1+ds-7.2+deb11u1 or later
- —upgrade to 18.16.1+ds-4+deb10u1 or later
Is CVE-2021-42387 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 18.16.1+ds-7.2+deb11u1
- from 0, < 18.16.1+ds-4+deb10u1
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 |