CVE-2021-31158: couchbase couchbase_server Incorrect Authorization
CVSS: 6.5v3.1MediumModified
Published 19-05-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-31158 is a medium (CVSS 6.5) Incorrect Authorization vulnerability in couchbase couchbase_server. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.4% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.1 (NVD)EPSS score
0.70%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 19-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 1 source · 2 versionsMedium 6.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NSourcesSingle source
Medium 4.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:S/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
0.00 pp
From 0.70% on 19-09-2026
19-09-202619-10-2026
EPSS score0.70%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Couchbase1 product
- couchbase_server≥ 6.5.0, < 6.6.2
1 vendor · 1 product
References
2 links- docs.couchbase.com/server/current/release-notes/relnotes.htmlX Refsource MISCRelease NotesVendor Advisory