CVE-2025-1385CWE-20

Fail input validation in clickhouse-library-bridge API could lead to RCE under specific configuration

High · published March 20, 2025

CVSS v4.0
7.5
EPSS
0%
Percentile
39.3
In the wild
Unconfirmed
What it is

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>

The record
Technical detail
CVSS v4.0
7.5 · HIGH
Vector
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
EPSS
0.00465 · 39.3th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2025-03-20T07:13Z
EPSS history
Timeline
  • 20 MAR 07:13Z
    Fail input validation in clickhouse-library-bridge API could lead to RCE under specific configuration
    cvelistv5