CVE-2021-42388

Description

Heap out-of-bounds read in Clickhouses 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.

Risk Information

Base Score
8.1
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score
Exploitation Probability
0.365

Associated Vulnerability

VulnerabilityOS Platform
column-oriented database system (cli client) (USN-6933-1) clickhouse-common_18.16.1+ds-7ubuntu0.1_amd64.debLinux
column-oriented database system (cli client) (USN-6933-1) clickhouse-server_18.16.1+ds-7ubuntu0.1_amd64.debLinux
column-oriented database system (cli client) (USN-6933-1) clickhouse-tools_18.16.1+ds-7ubuntu0.1_amd64.debLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234