CVE-2021-43305
Last modified
CVE-2021-43305 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.65% chance of exploitation in the next 30 days.
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. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Clickhouse | Clickhouse | < 21.10.2.15 |
| Debian | Debian Linux | 10.0 |
References
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing List, Third Party Advisory
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-43305?
How severe is CVE-2021-43305?
How do I fix CVE-2021-43305?
Are you affected by CVE-2021-43305?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
