PYSEC-2022-207

    Dashboard / Vulnerabilities / PYSEC-2022-207

    PYSEC-2022-207

    Published: 10 Jun 2022Last Modified: 10 Jun 2026

    Summary:

    Details: 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 packages

    Package

    Name: couchbase

    Purl: pkg:pypi/couchbase

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0
    Fixed -3.0.2

    Affected versions

    3.0.0
    3.0.1
    3.0.2b1
    3.0.2b2
    3.0.2b4
    3.0.2b5
    3.0.2b6
    3.0.2b7
    3.0.2b9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2022-207 | CVE-DB