CVE-2025-1385Fail input validation in clickhouse-library-bridge API could lead to RCE under specific…
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>
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | clickhouse | Under investigation | UBUNTU-CVE-2025-1385 | |
| Ubuntu 20.04 | clickhouse | Fix pending | UBUNTU-CVE-2025-1385 |
What the vendor says
As published in the CVE record by ClickHouse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ClickHouse OSS: affected: 24.3 to before 24.3.18.6, 24.8 to before 24.8.14.27, 24.11 to before 24.11.5.34, 24.12 to before 24.12.5.65, 25.1 to before 25.1.5.5; fixed in
24.3.18.6,24.8.14.27,24.11.5.34,24.12.5.65,25.1.5.5
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.