Privilege Escalation Affecting couchbase package, versions [3.0.0,3.0.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-COUCHBASE-5416194
  • published7 Apr 2023
  • disclosed7 Apr 2023
  • creditUnknown

Introduced: 7 Apr 2023

CVE-2022-32563  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade couchbase to version 3.0.2 or higher.

Overview

couchbase is a Python Client for Couchbase

Affected versions of this package are vulnerable to Privilege Escalation such that 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.

Note: The Public REST API is not impacted by this issue.

Workaround

Users can replace X.509 certificate based authentication with Username and Password authentication inside the bootstrap configuration.

References

CVSS Base Scores

version 3.1