PoC Monitor
← All CVEs
CVE-2025-1385published 20 Mar 2025 07:13 UTCData: JSON · API

ClickHouse OSS

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

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>

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ClickHouse ClickHouse OSS
  • >= 24.3, < 24.3.18.6
  • >= 24.8, < 24.8.14.27
  • >= 24.11, < 24.11.5.34
  • >= 24.12, < 24.12.5.65
  • >= 25.1, < 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

Mitigation

Upgrade ClickHouse OSS to 24.3.18.6 or 24.8.14.27 or 24.11.5.34 or 24.12.5.65 or 25.1.5.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Mar 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.