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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.007 (51.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 51.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.couchbase.com/resources/security (Vendor Advisory)
- docs.couchbase.com/server/current/release-notes/relnotes.html (Release Notes, Vendor Advisory)
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.