CVE-2021-42387 Vulnerability Details

  /     /     /  

CVE-2021-42387 Metadata Quick Info

CVE Published: 14/03/2022 | CVE Updated: 04/08/2024 | CVE Year: 2021
Source: JFROG | Vendor: yandex | Product: clickhouse
Status : PUBLISHED

CVE-2021-42387 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 upper bounds of the source of the copy operation.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID: CWE-125
CWE Name: CWE-125
Source: yandex

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).