8.8

CVE-2021-43304: clickhouse Heap-based Buffer Overflow

Modified
AliasesDEBIAN-CVE-2021-43304
Published 14-03-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-43304 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in clickhouse. EPSS estimates a 1.67% chance of exploitation in the next 30 days, higher than 76.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
1.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1

Timeline

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

Description

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.67%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.67% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (jfrog.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Clickhouse1 product
Yandex1 product

3 vendors · 4 products

References

3 links