Vulnerabilities in pkg:nuget/CouchbaseNetClient
PACKAGECVE-2025-49015 is a MODERATE (CVSS 4.9) couchbase .net sdk (client library) vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting CouchbaseNetClient libraries in the NuGet ecosystem. The issue involves couchbase .net sdk (client library) does not properly enable hostname verification for tls certificates. Remediation is available in the latest vendor maintenance releases.
pkg:nuget/CouchbaseNetClient
Vulnerability advisories affecting package pkg:nuget/CouchbaseNetClient. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-px2c-r924-mwcc | CVE-2025-49015 | MODERATE | Couchbase .NET SDK (client library) does not properly enable hostname verification for TLS certificates |
CVE-2025-49015 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-49015
To remediate this vulnerability, upgrade all affected CouchbaseNetClient 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 CouchbaseNetClient to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for CouchbaseNetClient
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-49015, inspect your project dependencies for CouchbaseNetClient:
inspect dependencies for CouchbaseNetClient
Analyze the terminal output to locate any version of CouchbaseNetClient in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-297: Improper Validation of Certificate with Host Mismatch, where the product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. In CouchbaseNetClient, 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-49015 Affected CouchbaseNetClient Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
CouchbaseNetClient
|
NuGet |
|
|
References
Frequently Asked Questions
What is CVE-2025-49015?
Which CouchbaseNetClient versions are affected?
What version fixes CVE-2025-49015?
Is CouchbaseNetClient affected?
What is the CVSS score of CVE-2025-49015?
What CWE is associated with CVE-2025-49015?
How can I check NuGet dependencies for CVE-2025-49015?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-px2c-r924-mwcc",
"modified" : "2025-06-18T19:42:25Z",
"published" : "2025-06-18T15:31:15Z",
"aliases" : [ "CVE-2025-49015" ],
"summary" : "Couchbase .NET SDK (client library) does not properly enable hostname verification for TLS certificates",
"details" : "The Couchbase .NET SDK (client library) before 3.7.1 does not properly enable hostname verification for TLS certificates. In fact, the SDK was also using IP addresses instead of hostnames due to a configuration option that was incorrectly enabled by default.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "CouchbaseNetClient"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 3.7.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49015"
}, {
"type" : "WEB",
"url" : "https://github.com/couchbase/couchbase-net-client/commit/04d1679b2178f922036be6e595b3d91f972c5ba3"
}, {
"type" : "WEB",
"url" : "https://docs.couchbase.com/server/current/release-notes/relnotes.html"
}, {
"type" : "WEB",
"url" : "https://forums.couchbase.com/tags/security"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/couchbase/couchbase-net-client"
}, {
"type" : "WEB",
"url" : "https://www.couchbase.com/alerts"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-18T19:42:25Z",
"nvd_published_at" : "2025-06-18T14:15:44Z"
}
}