Vulnerabilities in pkg:golang/github.com/ClickHouse/ch-go
PACKAGECVE-2025-1386 is a MODERATE cve-2025-1386- query smuggling vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Github.com/ClickHouse/ch go libraries in the Go ecosystem. The issue involves cve-2025-1386- query smuggling in ch-go library. Remediation is available by upgrading affected packages to version 0.65.0.
pkg:golang/github.com/ClickHouse/ch-go
Vulnerability advisories affecting package pkg:golang/github.com/ClickHouse/ch-go. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m454-3xv7-qj85 | CVE-2025-1386 | MODERATE | CVE-2025-1386- Query smuggling in ch-go library |
CVE-2025-1386 at a Glance
How to Fix CVE-2025-1386
To remediate this vulnerability, upgrade all affected Github.com/ClickHouse/ch go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/ClickHouse/ch-go to 0.65.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ClickHouse/ch-go
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-1386, inspect your project dependencies for Github.com/ClickHouse/ch go:
inspect dependencies for github.com/ClickHouse/ch-go
Analyze the terminal output to locate any version of Github.com/ClickHouse/ch go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.65.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Github.com/ClickHouse/ch go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-1386 Affected Github.com/ClickHouse/ch go Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ClickHouse/ch-go
|
Go |
< 0.65.0
|
0.65.0
|
References
Frequently Asked Questions
What is CVE-2025-1386?
Which Github.com/ClickHouse/ch go versions are affected?
What version fixes CVE-2025-1386?
Is github.com/ClickHouse/ch-go affected?
What CWE is associated with CVE-2025-1386?
How can I check Go dependencies for CVE-2025-1386?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m454-3xv7-qj85",
"modified" : "2025-04-23T15:06:50Z",
"published" : "2025-04-12T03:41:21Z",
"aliases" : [ "CVE-2025-1386" ],
"summary" : "CVE-2025-1386- Query smuggling in ch-go library",
"details" : "### Impact\n\nWhen using the ch-go library, under a specific condition when the query includes a large, uncompressed malicious external data, it is possible for an attacker in control of such data to smuggle another query packet into the connection stream.\n\n### Patches\n\nIf you are using ch-go library, we recommend you to update to at least version 0.65.0.\n\n### Credit\n\nThis issue was found by lixts and reported through our bugcrowd program.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ClickHouse/ch-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.65.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ClickHouse/ch-go/security/advisories/GHSA-m454-3xv7-qj85"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1386"
}, {
"type" : "WEB",
"url" : "https://github.com/ClickHouse/ch-go/commit/0e835663df32b09b828528c07a5507686e6d975e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ClickHouse/ch-go"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3603"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-444" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T03:41:21Z",
"nvd_published_at" : "2025-04-11T05:15:29Z"
}
}