{"id":"CVE-2021-42388","state":"PUBLISHED","title":"Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('off","description":"Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation.","publishedAt":"2022-03-14T00:00:00.000Z","updatedAt":"2024-08-04T03:30:38.323Z","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-125"],"ingestedAt":"2026-10-29T19:49:04.473Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/42xxx/CVE-2021-42388.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-42388","state":"PUBLISHED","datePublished":"2022-03-14T00:00:00.000Z","dateUpdated":"2024-08-04T03:30:38.323Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2021-10-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation."}],"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-125","type":"CWE","lang":"en","description":"CWE-125"}]}],"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:30:38.323Z"}}]}}}