Divide-by-zero Vulnerability in ClickHouse's Delta Compression Codec
CVE-2021-42389

6.5MEDIUM

Key Information:

Vendor

Yandex

Vendor
CVE Published:
14 March 2022

What is CVE-2021-42389?

This vulnerability involves a divide-by-zero scenario in ClickHouse's Delta compression codec, triggered when parsing a specially crafted malicious query. The issue arises because the first byte of the compressed buffer, which is processed in a modulo operation, is not validated for being zero before usage. This oversight could potentially lead to unexpected application behavior, impacting the stability and security of the database.

Affected Version(s)

clickhouse < 21.10.2.15-stable

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.