CVE-2025-1385
CVE-2025-1385 · Fail input validation in clickhouse-library-bridge API could lead to RCE under specific configuration
This page contains facts from public vulnerability sources. Check the original advisory before updating.
When the library bridge feature is enabled, the clickhouse-library-bridge exposes an HTTP API on localhost. This allows clickhouse-server to dynamically load a library from a specified path and execute it in an isolated process. Combined with the ClickHouse table engine functionality that permits file uploads to specific directories, a misconfigured server can be exploited by an attacker with privilege to access to both table engines to execute arbitrary code on the ClickHouse server. You can check if your ClickHouse server is vulnerable to this vulnerability by inspecting the configuration file and confirming if the following setting is enabled: <library_bridge> <port>9019</port> </library_bridge>
CVSS 7.5 · High · EPSS 0.5% · Fix available
- Published
- Updated
Affected products and versions
clickhouse oss
- Versions
- ≥ 24.3, < 24.3.18.6: Affected (custom)
- ≥ 24.8, < 24.8.14.27: Affected (custom)
- ≥ 24.11, < 24.11.5.34: Affected (custom)
- ≥ 24.12, < 24.12.5.65: Affected (custom)
- ≥ 25.1, < 25.1.5.5: Affected (custom)
Update to 24.11.5.34; Update to 24.12.5.65; Update to 24.3.18.6; Update to 24.8.14.27; Update to 25.1.5.5
clickhouse Ubuntu:20.04:LTS
- Versions
- 18.16.1+ds-5
- 18.16.1+ds-5ubuntu1
- 18.16.1+ds-5ubuntu2
- 18.16.1+ds-6ubuntu1
- 18.16.1+ds-7
- 18.16.1+ds-7ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
clickhouse Ubuntu:24.04:LTS
- Versions
- 18.16.1+ds-7.4
- 18.16.1+ds-7.4build1
- 18.16.1+ds-7.4build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published