{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-42387","published":"2022-03-14T23:15:07.917000Z","last_modified":"2026-06-17T04:09:44.877000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:*","part":"a","vendor":"clickhouse","product":"clickhouse","version_end_excluding":"21.10.2.15"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["clickhouse","debian"],"products":["clickhouse/clickhouse","debian/debian_linux"],"epss":{"score":0.01573,"percentile":0.7577,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2021-42387/","html_en":"/en/cve/CVE-2021-42387/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42387","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42387"},"untrusted":{"vendor_name":"Clickhouse","product_name":"Clickhouse","desc_en":"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 upper bounds of the source of the copy operation.","affected":[{"untrusted_vendor":"yandex","untrusted_product":"clickhouse","versions":[]}],"references":[{"url":"https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html","tags":["Mailing List","Third Party Advisory"]}]}}