2020-04-03 13:23:32 +00:00
---
2022-03-29 05:09:17 +00:00
sidebar_label: Security Changelog
sidebar_position: 100
keywords: [clickhouse, security, changelog]
description: Security Changelog
2020-04-03 13:23:32 +00:00
---
2022-03-29 05:09:17 +00:00
# Security Changelog
2021-07-20 08:16:18 +00:00
## Fixed in ClickHouse 21.4.3.21, 2021-04-12 {#fixed-in-clickhouse-release-21-4-3-21-2021-04-12}
### CVE-2021-25263 {#cve-2021-25263}
An attacker that has CREATE DICTIONARY privilege, can read arbitary file outside permitted directory.
Fix has been pushed to versions 20.8.18.32-lts, 21.1.9.41-stable, 21.2.9.41-stable, 21.3.6.55-lts, 21.4.3.21-stable and later.
Credits: [Vyacheslav Egoshin ](https://twitter.com/vegoshin )
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 19.14.3.3, 2019-09-10 {#fixed-in-clickhouse-release-19-14-3-3-2019-09-10}
2020-01-09 09:52:40 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2019-15024 {#cve-2019-15024}
2020-01-09 09:52:40 +00:00
2021-06-30 11:31:08 +00:00
А n attacker that has write access to ZooKeeper and who can run a custom server available from the network where ClickHouse runs, can create a custom-built malicious server that will act as a ClickHouse replica and register it in ZooKeeper. When another replica will fetch data part from the malicious replica, it can force clickhouse-server to write to arbitrary path on filesystem.
2020-01-09 09:52:40 +00:00
Credits: Eldar Zaitov of Yandex Information Security Team
2020-03-20 10:10:48 +00:00
### CVE-2019-16535 {#cve-2019-16535}
2020-01-09 09:52:40 +00:00
А n OOB read, OOB write and integer underflow in decompression algorithms can be used to achieve RCE or DoS via native protocol.
Credits: Eldar Zaitov of Yandex Information Security Team
2020-03-20 10:10:48 +00:00
### CVE-2019-16536 {#cve-2019-16536}
2020-01-09 09:52:40 +00:00
2020-03-18 13:02:32 +00:00
Stack overflow leading to DoS can be triggered by a malicious authenticated client.
2020-01-09 09:52:40 +00:00
Credits: Eldar Zaitov of Yandex Information Security Team
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 19.13.6.1, 2019-09-20 {#fixed-in-clickhouse-release-19-13-6-1-2019-09-20}
2019-10-29 11:51:25 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2019-18657 {#cve-2019-18657}
2020-01-09 09:52:40 +00:00
2019-10-29 11:51:25 +00:00
Table function `url` had the vulnerability allowed the attacker to inject arbitrary HTTP headers in the request.
Credits: [Nikita Tikhomirov ](https://github.com/NSTikhomirov )
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 18.12.13, 2018-09-10 {#fixed-in-clickhouse-release-18-12-13-2018-09-10}
2019-02-11 14:23:41 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2018-14672 {#cve-2018-14672}
2019-02-11 14:23:41 +00:00
Functions for loading CatBoost models allowed path traversal and reading arbitrary files through error messages.
Credits: Andrey Krasichkov of Yandex Information Security Team
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 18.10.3, 2018-08-13 {#fixed-in-clickhouse-release-18-10-3-2018-08-13}
2019-02-11 14:23:41 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2018-14671 {#cve-2018-14671}
2019-02-11 14:23:41 +00:00
unixODBC allowed loading arbitrary shared objects from the file system which led to a Remote Code Execution vulnerability.
Credits: Andrey Krasichkov and Evgeny Sidorov of Yandex Information Security Team
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 1.1.54388, 2018-06-28 {#fixed-in-clickhouse-release-1-1-54388-2018-06-28}
2018-08-07 12:06:41 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2018-14668 {#cve-2018-14668}
2020-01-09 09:52:40 +00:00
2020-10-13 17:23:29 +00:00
“remote” table function allowed arbitrary symbols in “user”, “password” and “default_database” fields which led to Cross Protocol Request Forgery Attacks.
2018-08-07 12:06:41 +00:00
Credits: Andrey Krasichkov of Yandex Information Security Team
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 1.1.54390, 2018-07-06 {#fixed-in-clickhouse-release-1-1-54390-2018-07-06}
2018-08-07 12:06:41 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2018-14669 {#cve-2018-14669}
2020-01-09 09:52:40 +00:00
2020-03-20 10:10:48 +00:00
ClickHouse MySQL client had “LOAD DATA LOCAL INFILE” functionality enabled that allowed a malicious MySQL database read arbitrary files from the connected ClickHouse server.
2018-08-07 12:06:41 +00:00
Credits: Andrey Krasichkov and Evgeny Sidorov of Yandex Information Security Team
2020-03-21 04:11:51 +00:00
## Fixed in ClickHouse Release 1.1.54131, 2017-01-10 {#fixed-in-clickhouse-release-1-1-54131-2017-01-10}
2018-08-07 12:06:41 +00:00
2020-03-20 10:10:48 +00:00
### CVE-2018-14670 {#cve-2018-14670}
2018-08-07 12:06:41 +00:00
2020-03-18 13:02:32 +00:00
Incorrect configuration in deb package could lead to the unauthorized use of the database.
2018-08-07 12:06:41 +00:00
2020-03-20 10:10:48 +00:00
Credits: the UK’ s National Cyber Security Centre (NCSC)