UBUNTU-CVE-2021-42388
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-42388
UBUNTU-CVE-2021-42388
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2021-42388, https://github.com/ClickHouse/ClickHouse/commit/2aea1c8d4a5be320365472052d8a48bf69fd9fe9, https://github.com/ClickHouse/ClickHouse/commit/6d83eacec42c7c403c99804a713a9d38caa4a45d, https://github.com/ClickHouse/ClickHouse/pull/27136, https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms/, https://www.cve.org/CVERecord?id=CVE-2021-42388, https://ubuntu.com/security/notices/USN-6933-1
Affected packages
Package
Name: clickhouse
Purl: pkg:deb/ubuntu/[email protected]+ds-7ubuntu0.1?arch=source&distro=focal
Affected ranges
Type: ECOSYSTEM
Events:
