CVE-2021-42388
CVE-2021-42388
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.1 · High · EPSS 1.6% · Fix available
- Published
- Updated
Affected products and versions
clickhouse
- Versions
- ≥ unspecified, < 21.10.2.15-stable: Affected (custom)
Update to 21.10.2.15-stable
clickhouse Debian:12
- Affected ranges
- ECOSYSTEM: < 18.16.1+ds-7.3
Update to 18.16.1+ds-7.3
clickhouse Ubuntu:20.04:LTS
- Versions
- 18.16.1+ds-5
- 18.16.1+ds-5ubuntu1
- 18.16.1+ds-5ubuntu2
- 18.16.1+ds-6ubuntu1
- 18.16.1+ds-7
- Affected ranges
- ECOSYSTEM: < 18.16.1+ds-7ubuntu0.1
Update to 18.16.1+ds-7ubuntu0.1