cvedb.io
CVE-2021-42387
HIGH · CVSS 8.1
EPSS exploitation probability: 0%
Published 2022-03-14T23:15:07.917 · Last modified 2026-06-17T04:09:44.877

Summary

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.

Affected products

clickhouse — clickhouse

Does this affect you?

Add your gear to cvedb and we'll alert you only when clickhouse ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.