Division by zero in ClickHouse - CVE-2021-42389

 

Division by zero in ClickHouse - CVE-2021-42389

Published: March 18, 2022


Vulnerability identifier: #VU61462
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-42389
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the divide-by-zero issue in Delta compression codec when parsing a malicious query. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

ClickHouse

How to mitigate CVE-2021-42389

Install updates from vendor's website.

ClickHouse - update to 21.10.2.15

External References

Related Security Bulletins