8.1

CVE-2021-42388: clickhouse Out-of-bounds Read

Modified
AliasesUBUNTU-CVE-2021-42388DEBIAN-CVE-2021-42388
Published 14-03-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-42388 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in clickhouse. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 75.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
1.57%
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 2 · Related 1

Timeline

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

Description

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.57%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.57% 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
Ubuntu1 product
  • clickhouse< 18.16.1+ds-7ubuntu0.1
Yandex1 product

4 vendors · 5 products

References

10 links