couchbase/couchbase-net-client · Security
Couchbase .NET SDK (client library) does not properly enable hostname verification for TLS certificates
- GHSA ID
- GHSA-px2c-r924-mwcc
- CVE ID
- CVE-2025-49015
- Severity
- medium
- Published
- Updated
- CVSS
- 4.9 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 4.9 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-297 · Improper Validation of Certificate with Host Mismatch
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-49015 ↗
- https://docs.couchbase.com/server/current/release-notes/relnotes.html ↗
- https://forums.couchbase.com/tags/security ↗
- https://www.couchbase.com/alerts ↗
- https://github.com/couchbase/couchbase-net-client/commit/04d1679b2178f922036be6e595b3d91f972c5ba3 ↗
- https://github.com/advisories/GHSA-px2c-r924-mwcc ↗