{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2021-42388", "ASSIGNER": "security@jfrog.com", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "yandex", "product": { "product_data": [ { "product_name": "clickhouse", "version": { "version_data": [ { "version_name": "", "version_affected": "<", "version_value": "21.10.2.15-stable", "platform": "" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-125" } ] } ] }, "description": { "description_data": [ { "lang": "eng", "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." } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms", "name": "https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20221104 [SECURITY] [DLA 3176-1] clickhouse security update", "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00002.html" } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.1, "confidentialityImpact": "LOW", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "version": "3.1" } } }