CVE-2021-43305
published 2022-03-14CVE-2021-43305: Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the…
PriorityP351high8.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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
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 |
| clickhouse | clickhouse | >= 0 < 18.16.1+ds-7ubuntu0.1 | 18.16.1+ds-7ubuntu0.1 |
| debian | clickhouse | < clickhouse 18.16.1+ds-7.3 (bookworm) | clickhouse 18.16.1+ds-7.3 (bookworm) |
| debian | debian_linux | — | — |
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
vendor_ubuntu7.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.
OSV
clickhouse vulnerabilities
osv·2024-07-31·CVSS 7.8
CVE-2021-42387 [HIGH] clickhouse vulnerabilities
clickhouse vulnerabilities
It was discovered that ClickHouse incorrectly handled memory, leading to a
heap out-of-bounds data read. An attacker could possibly use this issue to
cause a denial of service, or leak sensitive information.
(CVE-2021-42387, CVE-2021-41388)
It was discovered that ClickHouse incorrectly handled memory, leading to a
heap-based buffer overflow. An attacker could possibly use this issue to
cause a denial of service, or execute arbitrary code. (CVE-2021-43305)
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.
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.
Ubuntu
ClickHouse vulnerabilities
vendor_ubuntu·2024-07-31·CVSS 7.8
CVE-2021-42388 [HIGH] ClickHouse vulnerabilities
Title: ClickHouse vulnerabilities
Summary: Several security issues were fixed in ClickHouse.
It was discovered that ClickHouse incorrectly handled memory, leading to a
heap out-of-bounds data read. An attacker could possibly use this issue to
cause a denial of service, or leak sensitive information.
(CVE-2021-42387, CVE-2021-41388)
It was discovered that ClickHouse incorrectly handled memory, leading to a
heap-based buffer overflow. An attacker could possibly use this issue to
cause a denial of service, or execute arbitrary code. (CVE-2021-43305)
Instructions: In general, a standard system update will make all the necessary changes.
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)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-03-14
Published