CVE-2022-32563
CRITICAL 9.8CVSS 3.1Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication
An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2. Admin credentials are not verified when using X.509 client-certificate authentication from Sync Gateway to Couchbase Server. When Sync Gateway is configured to authenticate with Couchbase Server using X.509 client certificates, the admin credentials provided to the Admin REST API are ignored, resulting in privilege escalation for unauthenticated users. The Public REST API is not impacted by this issue. A workaround is to replace X.509 certificate based authentication with Username and Password authentication inside the bootstrap configuration.
- Published
- 10 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-9266-j9v3-q4j5PYSEC-2022-207
- Sources
- NVDJSONOSV GHSA-9266-j9v3-q4j5JSONOSV PYSEC-2022-207JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | couchbase | sync_gatewaycpe:2.3:a:couchbase:sync_gateway:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.2 | 3.0.2 |
| OSV | PyPI | couchbase | >= 3.0.0, < 3.0.2 | 3.0.2 |
References
- https://forums.couchbase.com/tags/security · Vendor Advisory, WEB
- https://www.couchbase.com/alerts · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-32563 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/couchbase/PYSEC-2022-207.yaml · WEB
- https://www.couchbase.com/alerts/#CVE-2022-32563 · WEB
- https://github.com/advisories/GHSA-9266-j9v3-q4j5 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Jun 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Jun 2022)