CVE-2022-42951
Couchbase vulnerability analysis and mitigation

Overview

An issue was discovered in Couchbase Server 6.5.x and 6.6.x before 6.6.6, 7.x before 7.0.5, and 7.1.x before 7.1.2. During the start-up of a Couchbase Server node, there is a small window of time (before the cluster management authentication has started) where an attacker can connect to the cluster manager using default credentials. If an attacker connects during this period, they can execute arbitrary code remotely on any cluster node until their connection is dropped. The executed code will run with the same privileges as the Couchbase Server (CVE Details, Couchbase Alerts).

Technical details

The vulnerability exists in the Erlang distribution protocol during node startup. During this period, the security cookie is set to "nocookie" which lacks access controls. This creates a critical security window where the cluster manager is vulnerable to unauthorized access (Couchbase Alerts). The vulnerability has been assigned a CVSS score of 9.8 (Critical), indicating the highest level of severity (Couchbase Alerts).

Impact

The vulnerability allows attackers to execute arbitrary code remotely on any cluster node with the same privileges as the Couchbase Server. This means an attacker could potentially gain complete control over the affected nodes and access or modify data stored in the database (Couchbase Alerts).

Mitigation and workarounds

The issue has been fixed in Couchbase Server versions 7.1.2, 7.0.5, and 6.6.6. Users running affected versions should upgrade to these patched versions immediately to address the vulnerability (Couchbase Alerts).

Additional resources


SourceThis report was generated using AI

Related Couchbase vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-46619HIGH7.6
  • CouchbaseCouchbase
  • cpe:2.3:a:couchbase:couchbase_server
NoYesApr 30, 2025
CVE-2023-43768HIGH7.5
  • CouchbaseCouchbase
  • cpe:2.3:a:couchbase:couchbase_server
NoYesMar 27, 2024
CVE-2024-56178MEDIUM6.5
  • CouchbaseCouchbase
  • cpe:2.3:a:couchbase:couchbase_server
NoNoJan 27, 2025
CVE-2024-25673MEDIUM6.1
  • CouchbaseCouchbase
  • cpe:2.3:a:couchbase:couchbase_server
NoYesSep 19, 2024
CVE-2024-37034MEDIUM5.9
  • CouchbaseCouchbase
  • cpe:2.3:a:couchbase:couchbase_server
NoYesJul 26, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management