6.5

CVE-2021-42391: clickhouse Divide By Zero

CVSS: 6.5v3.1MediumModified
Published 14-03-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-42391 is a medium (CVSS 6.5) Divide By Zero vulnerability in clickhouse. EPSS estimates a 1.37% chance of exploitation in the next 30 days, higher than 71.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 14-03-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Divide-by-zero in Clickhouse's Gorilla 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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.37%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

0.00 pp

From 1.37% on 22-09-2026

22-09-202622-10-2026
EPSS score
1.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (jfrog.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Clickhouse1 product
Yandex1 product

2 vendors · 2 products

References

1 links