CVE-2021-42390: Divide by Zero

Published Mar 14, 2022
·
Updated

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.

Affected Software

2 affected components
Yandex Clickhouse<21.10.2.15
Clickhouse Clickhouse<21.10.2.15

Event History

Mar 14, 2022
CVE Published
via MITRE·10:20 PM
Data Sourced
via MITRE·10:20 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-42390?

CVE-2021-42390 has been classified as a high-severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2021-42390?

To fix CVE-2021-42390, upgrade to ClickHouse version 21.10.2.15 or later, where the vulnerability has been addressed.

3

What causes CVE-2021-42390?

CVE-2021-42390 is caused by a divide-by-zero error in the DeltaDouble compression codec when processing a maliciously crafted query.

4

Which software versions are affected by CVE-2021-42390?

CVE-2021-42390 affects all versions of ClickHouse up to, but not including, 21.10.2.15.

5

What impact does CVE-2021-42390 have on ClickHouse?

CVE-2021-42390 can lead to a denial of service condition, disrupting the availability of ClickHouse services.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203