CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

7.5 CVSS

Description

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:

9019

Classification

CVE ID: CVE-2025-1385

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS 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

Problem Types

CWE-20 Improper Input Validation

Affected Products

Vendor: ClickHouse

Product: ClickHouse OSS

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.14% (probability of being exploited)

EPSS Percentile: 35.07% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-1385
https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5

Timeline