#VU61461 Heap-based buffer overflow in ClickHouse


Published: 2022-03-18

Vulnerability identifier: #VU61461

Vulnerability risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-42388

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ClickHouse
Other software / Other software solutions

Vendor:

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a boundary error in the LZ4 compression codec when parsing queries. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and gain access to sensitive information or perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions


External links
http://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability