UBUNTU-CVE-2021-42388

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-42388

    UBUNTU-CVE-2021-42388

    Published: 14 Mar 2022Last Modified: 4 Feb 2026
    Upstream:
    Aliases:

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

    Purl: pkg:deb/ubuntu/[email protected]+ds-7ubuntu0.1?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -18.16.1+ds-7ubuntu0.1

    Affected versions

    18.16.1+ds-5
    18.16.1+ds-5ubuntu1
    18.16.1+ds-5ubuntu2
    18.16.1+ds-6ubuntu1
    18.16.1+ds-7

    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
    UBUNTU-CVE-2021-42388 | CVE-DB