Auth bypass in Couchbase Server

CVE-2021-31158

In the Query Engine in Couchbase Server 6.5.x and 6.6.x through 6.6.1, Common Table Expression queries were not correctly checking the user's permissions, allowing read-access to resources beyond what those users were explicitly allowed to access.

Vulnerability class: Broken Access Control

EPSS: 0.007 (49.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-31158?
CVE-2021-31158 is a medium-severity vulnerability in Couchbase Server, classified under Incorrect Authorization. CVSS score: 6.5/10. Published 2021-05-19.
How severe is CVE-2021-31158?
Medium severity. CVSS v3 base score is 6.5 out of 10.