CVE-2021-42391

Medium

Description

Divide-by-zero in Clickhouse's Gorilla compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.

SeverityMedium
CVSS6.5
Exploit probability—
ProductClickhouse
PublishedMar 14, 2022
First seenMar 14, 2022
Weakness typeCWE-369CWE-369

How to fix

Update
  • clickhouse clickhouse21.10.2.15 or later

Affected products

ProductAffected versionsFixed in
clickhouse clickhousev < 21.10.2.1521.10.2.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.