Name | CVE-2021-43304 |
Description | Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3176-1 |
Debian Bugs | 1008216 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
clickhouse (PTS) | bullseye | 18.16.1+ds-7.2+deb11u1 | fixed |
bookworm | 18.16.1+ds-7.3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
clickhouse | source | buster | 18.16.1+ds-4+deb10u1 | DLA-3176-1 | ||
clickhouse | source | bullseye | 18.16.1+ds-7.2+deb11u1 | |||
clickhouse | source | (unstable) | 18.16.1+ds-7.3 | 1008216 |
https://github.com/ClickHouse/ClickHouse/commit/2aea1c8d4a5be320365472052d8a48bf69fd9fe9 (v21.9.1.7685)
https://github.com/ClickHouse/ClickHouse/commit/6d83eacec42c7c403c99804a713a9d38caa4a45d (v21.9.1.7685)
https://github.com/ClickHouse/ClickHouse/pull/27136
https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms/