ubuntu-cve-2025-1385
Vulnerability from osv_ubuntu
Published
2025-03-20 08:15
Modified
2025-10-24 05:16
Summary
Details
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
Severity
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "clickhouse-client",
"binary_version": "18.16.1+ds-7ubuntu0.1"
},
{
"binary_name": "clickhouse-common",
"binary_version": "18.16.1+ds-7ubuntu0.1"
},
{
"binary_name": "clickhouse-server",
"binary_version": "18.16.1+ds-7ubuntu0.1"
},
{
"binary_name": "clickhouse-tools",
"binary_version": "18.16.1+ds-7ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "clickhouse",
"purl": "pkg:deb/ubuntu/clickhouse@18.16.1+ds-7ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.16.1+ds-5",
"18.16.1+ds-5ubuntu1",
"18.16.1+ds-5ubuntu2",
"18.16.1+ds-6ubuntu1",
"18.16.1+ds-7",
"18.16.1+ds-7ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "clickhouse-client",
"binary_version": "18.16.1+ds-7.4build2"
},
{
"binary_name": "clickhouse-common",
"binary_version": "18.16.1+ds-7.4build2"
},
{
"binary_name": "clickhouse-server",
"binary_version": "18.16.1+ds-7.4build2"
},
{
"binary_name": "clickhouse-tools",
"binary_version": "18.16.1+ds-7.4build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "clickhouse",
"purl": "pkg:deb/ubuntu/clickhouse@18.16.1+ds-7.4build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.16.1+ds-7.4",
"18.16.1+ds-7.4build1",
"18.16.1+ds-7.4build2"
]
}
],
"aliases": [],
"details": "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: \u003clibrary_bridge\u003e \u003cport\u003e9019\u003c/port\u003e \u003c/library_bridge\u003e",
"id": "UBUNTU-CVE-2025-1385",
"modified": "2025-10-24T05:16:29Z",
"published": "2025-03-20T08:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-1385"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-1385"
},
{
"type": "REPORT",
"url": "https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-1385"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…