Vulnerability · Published Mar 14, 2022 · Assigned by JFROG
CVE-2021-42388
High 8.1
In plain English
A high-severity out-of-bounds read in clickhouse from yandex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.1High
Exploit odds (30 days)1.6%top 24.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | clickhouse | 18.16.1+ds-7.3 | DEBIAN-CVE-2021-42388 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yandex | clickhouse | unspecified – before 21.10.2.15-stable |
Weakness: CWE-125