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.
CVSS score
6.5/10
010
Medium · v3.1 (NVD)EPSS score
1.37%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Timeline
- 14-03-2022PublishedVulnerability first disclosed.
- 04-08-2024Last 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 versionsMedium 6.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesSingle source
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
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 score1.37%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (jfrog.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Clickhouse1 product
- clickhouse< 21.10.2.15
Yandex1 product
- clickhouse≥ unspecified, < 21.10.2.15-stable
2 vendors · 2 products
References
1 links- jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsX Refsource MISCExploitThird Party Advisory