CVE-2021-42389
CVE-2021-42389 is a medium-severity vulnerability in Clickhouse with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-369.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (66th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-369
- Affected product: Clickhouse
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2021-42389?
- 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.
- How severe is CVE-2021-42389?
- CVE-2021-42389 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-42389 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (66th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-42389?
- CVE-2021-42389 affects Clickhouse. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-42389?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-42389 published?
- CVE-2021-42389 was published on 2022-03-14 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:*
More vulnerabilities in Clickhouse
- CVE-2019-16535 — Critical (CVSS 9.8): In all versions of ClickHouse before 19.14, an OOB read, OOB write and integer underflow in decompression algorithms…
- CVE-2018-14671 — Critical (CVSS 9.8): In ClickHouse before 18.10.3, unixODBC allowed loading arbitrary shared objects from the file system which led to a…
- CVE-2018-14670 — Critical (CVSS 9.8): Incorrect configuration in deb package in ClickHouse before 1.1.54131 could lead to unauthorized use of the database.
- CVE-2019-16536 — High (CVSS 8.8): Stack overflow leading to DoS can be triggered by a malicious authenticated client in Clickhouse before 19.14.3.3.
- CVE-2021-43305 — High (CVSS 8.8): Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification…
- CVE-2021-43304 — High (CVSS 8.8): Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification…
All CVEs affecting Clickhouse →
Other CWE-369 (Divide By Zero) vulnerabilities
- CVE-2021-32494 — Critical (CVSS 10.0): Radare2 has a division by zero vulnerability in Mach-O parser's rebase_buffer function. This allow attackers to create…
- CVE-2017-11720 — Critical (CVSS 9.8): There is a division-by-zero vulnerability in LAME 3.99.5, caused by a malformed input file.
- CVE-2020-20892 — High (CVSS 8.8): An issue was discovered in function filter_frame in libavfilter/vf_lenscorrection.c in Ffmpeg 4.2.1, allows attackers…
- CVE-2025-4637 — High (CVSS 8.7): Divide By Zero vulnerability in davisking dlib allows remote attackers to cause a denial of service via a crafted…
- CVE-2026-37232 — High (CVSS 8.6): An issue was discovered in OpenAirInterface5G 2.4.0 (nr-softmodem) in the E2SM-KPM RAN Function's PRB utilization…
- CVE-2024-26945 — High (CVSS 8.4): In the Linux kernel, the following vulnerability has been resolved: crypto: iaa - Fix nr_cpus < nr_iaa case If…