UBUNTU-CVE-2025-1385

Source
https://ubuntu.com/security/CVE-2025-1385
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1385.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-1385
Upstream
Published
2025-03-20T08:15:00Z
Modified
2025-10-24T05:16:29Z
Severity
  • 7.5 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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: <library_bridge> <port>9019</port> </library_bridge>

References

Affected packages

Ubuntu:20.04:LTS / clickhouse

Package

Name
clickhouse
Purl
pkg:deb/ubuntu/clickhouse@18.16.1+ds-7ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

18.*
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-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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1385.json"

Ubuntu:24.04:LTS / clickhouse

Package

Name
clickhouse
Purl
pkg:deb/ubuntu/clickhouse@18.16.1+ds-7.4build2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

18.*
18.16.1+ds-7.4
18.16.1+ds-7.4build1
18.16.1+ds-7.4build2

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1385.json"