CVE-2021-42391: Divide by Zero

Published Mar 14, 2022
·
Updated

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.

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-42391?

CVE-2021-42391 is classified as a high severity vulnerability due to the potential for denial of service caused by a divide-by-zero error.

2

How do I fix CVE-2021-42391?

To fix CVE-2021-42391, upgrade to ClickHouse version 21.10.2.15 or later.

3

What software is affected by CVE-2021-42391?

CVE-2021-42391 affects ClickHouse versions prior to 21.10.2.15.

4

What type of attack does CVE-2021-42391 enable?

CVE-2021-42391 enables a denial of service attack by exploiting a divide-by-zero vulnerability.

5

Can CVE-2021-42391 be exploited through a malicious query?

Yes, CVE-2021-42391 can be triggered by sending a malicious query that takes advantage of the Gorilla compression codec.

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