Ubuntu update for clickhouse



Published: 2024-08-01
Risk High
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2021-42387
CVE-2021-41388
CVE-2021-43304
CVE-2021-43305
CVE-2021-42388
CWE-ID CWE-122
CWE-269
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

clickhouse-tools (Ubuntu package)
Operating systems & Components / Operating system package or component

clickhouse-server (Ubuntu package)
Operating systems & Components / Operating system package or component

clickhouse-common (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU61460

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-42387

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

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

Update the affected package clickhouse to the latest version.

Vulnerable software versions

Ubuntu: 20.04

clickhouse-tools (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-server (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-common (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-6933-1


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.

2) Improper privilege management

EUVDB-ID: #VU95153

Risk: Low

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

CVE-ID: CVE-2021-41388

CWE-ID: CWE-269 - Improper Privilege Management

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper privilege management within the XPC implementation of nsAuxiliarySvc process. A local user can escalate privileges on the system.

Mitigation

Update the affected package clickhouse to the latest version.

Vulnerable software versions

Ubuntu: 20.04

clickhouse-tools (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-server (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-common (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-6933-1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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

3) Heap-based buffer overflow

EUVDB-ID: #VU61458

Risk: High

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

CVE-ID: CVE-2021-43304

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in LZ4 compression codec. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package clickhouse to the latest version.

Vulnerable software versions

Ubuntu: 20.04

clickhouse-tools (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-server (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-common (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-6933-1


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.

4) Heap-based buffer overflow

EUVDB-ID: #VU61459

Risk: High

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

CVE-ID: CVE-2021-43305

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in LZ4 compression codec. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package clickhouse to the latest version.

Vulnerable software versions

Ubuntu: 20.04

clickhouse-tools (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-server (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-common (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-6933-1


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.

5) Heap-based buffer overflow

EUVDB-ID: #VU61461

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 - Heap-based Buffer Overflow

Exploit availability: No

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

Update the affected package clickhouse to the latest version.

Vulnerable software versions

Ubuntu: 20.04

clickhouse-tools (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-server (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

clickhouse-common (Ubuntu package): before 18.16.1+ds-7ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-6933-1


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.



###SIDEBAR###