{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "21.10.2.15"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5adad0ff121319c172eae302bcef8b67b305557f"
            }
          ],
          "repo": "https://github.com/clickhouse/clickhouse",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Divide-by-zero in Clickhouse's Delta compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.",
  "id": "CVE-2021-42389",
  "modified": "2026-03-13T21:55:40.968481794Z",
  "published": "2022-03-14T23:15:08.017Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}