{"id":"CVE-2021-43304","state":"PUBLISHED","title":"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 esp","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.","publishedAt":"2022-03-14T00:00:00.000Z","updatedAt":"2024-08-04T03:55:28.381Z","severity":null,"assigner":"JFROG","products":["yandex clickhouse"],"affected":[{"vendor":"yandex","product":"clickhouse","versions":[{"version":"unspecified","status":"affected","lessThan":"21.10.2.15-stable","versionType":"custom"}]}],"references":["https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms","https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:49:07.642Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/43xxx/CVE-2021-43304.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-43304","state":"PUBLISHED","datePublished":"2022-03-14T00:00:00.000Z","dateUpdated":"2024-08-04T03:55:28.381Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2021-11-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"yandex","product":"clickhouse","versions":[{"version":"unspecified","status":"affected","lessThan":"21.10.2.15-stable","versionType":"custom"}]}],"references":[{"url":"https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html","name":"[debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"CWE-122"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2022-11-04T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html","name":"[debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T03:55:28.381Z"}}]}}}