VULNERABILITY INTELLIGENCE
CVE-2021-43304
CVSS score8.8 HIGH
EPSS probability1.67%
CISA KEVNot currently listed
Published2022-03-14
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- reefs@jfrog.com: CWE-122
- nvd@nist.gov: CWE-787
Primary references
- reefs@jfrog.com — Exploit, Third Party Advisory
- reefs@jfrog.com — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory