CVE-2021-43305: Buffer Overflow

Published Mar 14, 2022
·
Updated

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copyamount>(op, ip, copyend), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.

Affected Software

4 affected componentsFixes available
debian/clickhouse
18.16.1+ds-7.2+deb11u118.16.1+ds-7.318.16.1+ds-7.4
Yandex Clickhouse<21.10.2.15
Debian Debian Linux=10.0
Clickhouse Clickhouse<21.10.2.15

Event History

Mar 14, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Aug 1, 2024
Data Sourced
via Launchpad·05:38 AM
Description
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-43305?

CVE-2021-43305 is classified as a high severity vulnerability due to its potential for allowing arbitrary code execution.

2

How do I fix CVE-2021-43305?

To resolve CVE-2021-43305, upgrade ClickHouse to version 21.10.2.15 or later.

3

What systems are affected by CVE-2021-43305?

CVE-2021-43305 affects ClickHouse versions prior to 21.10.2.15 and Debian GNU/Linux version 10.0.

4

What kind of vulnerability is CVE-2021-43305?

CVE-2021-43305 is a heap buffer overflow vulnerability that occurs when parsing malicious queries.

5

Can CVE-2021-43305 lead to data breaches?

Yes, exploitation of CVE-2021-43305 can potentially lead to unauthorized access and data breaches.

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