#VU61461 Heap-based buffer overflow in ClickHouse - CVE-2021-42388


Vulnerability identifier: #VU61461

Vulnerability risk: High

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2021-42388

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ClickHouse
Other software / Other software solutions

Vendor: ClickHouse

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

ClickHouse: before 21.10.2.15


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