CVE-2021-43305
Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.67% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-122, CWE-787
- Affected
- clickhouse/clickhouse · debian/debian linux
- Source
- reefs@jfrog.com
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.