CVE-2021-42390 Denial of service in clickhouse
An attacker can cause a denial of service in ClickHouse by sending a malicious query that triggers a divide-by-zero error in the DeltaDouble compression codec.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-42390?
CVE-2021-42390 is a medium-severity denial of service vulnerability in yandex clickhouse, published on 14 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Divide-by-zero in Clickhouse's DeltaDouble 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.
Weakness: CWE-369
Which versions are affected by CVE-2021-42390?
It affects 1 product.
Products include Clickhouse Clickhouse.
How do I fix CVE-2021-42390?
No fix has been published for CVE-2021-42390 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-42390 being exploited?
There is no known exploitation of CVE-2021-42390 in the wild and no public exploit code.
Other vulnerabilities in yandex clickhouse
Sources
Also known as GHSA-mf33-8pgp-q5fx.