What’s Vulnerable › Vulnerabilities
CVE-2022-32563
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-06-10 · updated 2026-06-17
- Weakness: CWE-295
Description
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.
Affected products
- Couchbase Sync Gateway: from 3.0.0 before 3.0.2 — fixed in 3.0.2
How to fix
Upgrade to a fixed version: Couchbase Sync Gateway 3.0.2. Check the vendor advisory for mitigations.
References
- https://forums.couchbase.com/tags/security
- https://www.couchbase.com/alerts
- https://forums.couchbase.com/tags/security
- https://www.couchbase.com/alerts
Get alerted when CVE-2022-32563 or the next vulnerability affects your stack