Divide-by-Zero Vulnerability in Clickhouse's Gorilla Compression Codec
CVE-2021-42391

6.5MEDIUM

Key Information:

Vendor

Yandex

Vendor
CVE Published:
14 March 2022

What is CVE-2021-42391?

A divide-by-zero vulnerability exists in Clickhouse's Gorilla compression codec, which occurs when parsing specially crafted queries. Specifically, the first byte of the compressed buffer is subjected to a modulo operation without verification, potentially leading to unexpected application behavior. This issue highlights the importance of implementing robust input validation measures to prevent manipulation through malicious queries.

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

.