CVE-2021-42388

    Dashboard / Vulnerabilities / CVE-2021-42388

    CVE-2021-42388

    Published: 14 Mar 2022Last Modified: 24 Oct 2026

    Summary:

    Details: 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

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v21.10.1.8009-testing
    v21.10.1.8013-testing
    v21.10.1.8013-prestable
    v21.10.1.8002-testing
    v21.10.1.7998-testing
    v21.10.1.7939-testing
    v21.10.1.7933-testing
    v21.10.1.7926-testing
    v21.10.1.7892-testing
    v21.10.1.7906-testing
    v21.10.1.7859-testing
    v21.10.1.7856-testing
    v21.10.1.7829-testing
    v21.10.1.7848-testing
    v21.10.1.7845-testing

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-42388 | CVE-DB