CVE-2025-1385
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
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>
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| ClickHouse | ClickHouse OSS | 24.3 < 24.3.18.6 | affected |
| ClickHouse | ClickHouse OSS | 24.8 < 24.8.14.27 | affected |
| ClickHouse | ClickHouse OSS | 24.11 < 24.11.5.34 | affected |
| ClickHouse | ClickHouse OSS | 24.12 < 24.12.5.65 | affected |
| ClickHouse | ClickHouse OSS | 25.1 < 25.1.5.5 | affected |
Weaknesses
- CWE-20: CWE-20 Improper Input Validation
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.