CVE-2021-43304
published 2022-03-14CVE-2021-43304: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the…
PriorityP352high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.65%
73.5th percentile
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(op, ip, copy_end), don’t exceed the destination buffer’s limits.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| clickhouse | clickhouse | < 21.10.2.15 | 21.10.2.15 |
| clickhouse | clickhouse | >= 0 < 18.16.1+ds-7.2+deb11u1 | 18.16.1+ds-7.2+deb11u1 |
| clickhouse | clickhouse | >= 0 < 18.16.1+ds-7.3 | 18.16.1+ds-7.3 |
| debian | clickhouse | < clickhouse 18.16.1+ds-7.3 (bookworm) | clickhouse 18.16.1+ds-7.3 (bookworm) |
| debian | debian_linux | — | — |
| yandex | clickhouse | >= unspecified < 21.10.2.15-stable | 21.10.2.15-stable |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-rjm8-hjq2-73j6: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
ghsa_unreviewed·2022-03-16·CVSS 8.8
CVE-2021-43305 [HIGH] CWE-122 GHSA-rjm8-hjq2-73j6: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
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(op, ip, copy_end), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
GHSA
GHSA-4px5-4p3v-7568: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
ghsa_unreviewed·2022-03-16
CVE-2021-43304 [HIGH] CWE-122 GHSA-4px5-4p3v-7568: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
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(op, ip, copy_end), don’t exceed the destination buffer’s limits.
OSV
CVE-2021-43304: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
osv·2022-03-14·CVSS 8.8
CVE-2021-43304 [HIGH] CVE-2021-43304: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
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(op, ip, copy_end), don’t exceed the destination buffer’s limits.
OSV
CVE-2021-43305: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
osv·2022-03-14·CVSS 8.8
CVE-2021-43305 [HIGH] CVE-2021-43305: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query
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(op, ip, copy_end), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
Debian
CVE-2021-43305: clickhouse - Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malici...
vendor_debian·2021·CVSS 8.8
CVE-2021-43305 [HIGH] CVE-2021-43305: clickhouse - Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malici...
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(op, ip, copy_end), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
Scope: local
bookworm: resolved (fixed in 18.16.1+ds-7.3)
bullseye: resolved (fixed in 18.16.1+ds-7.2+deb11u1)
Debian
CVE-2021-43304: clickhouse - Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malici...
vendor_debian·2021·CVSS 8.8
CVE-2021-43304 [HIGH] CVE-2021-43304: clickhouse - Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malici...
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(op, ip, copy_end), don’t exceed the destination buffer’s limits.
Scope: local
bookworm: resolved (fixed in 18.16.1+ds-7.3)
bullseye: resolved (fixed in 18.16.1+ds-7.2+deb11u1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-03-14
Published