Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Clickhouse | Clickhouse | < 21.10.2.15 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing ListThird Party Advisory
- https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbmsExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00002.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2021-42388?
CVE-2021-42388 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 t...
How severe is CVE-2021-42388?
CVE-2021-42388 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-42388?
Check the references section above for vendor advisories and patch information. Affected products include: Clickhouse Clickhouse, Debian Debian Linux.