CVE-2023-44981
JSON

9.1critical

Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
2.22% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-7286-pgfv-vxvhBIT-ZOOKEEPER-2023-44981

Description

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like 'eve@EXAMPLE.COM', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default. Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue. Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue. See the documentation for more details on correct cluster administration.

Affected

Product or packageVersionsReported by
org.apache.zookeeper:zookeeperfrom 3.9.0 before 3.9.1, from 3.8.0 up to 3.8.2, from 3.7.0 up to 3.7.1, before 3.7.0CVE List
org.apache.zookeeper:zookeeper (Maven)before 3.7.2, from 3.8.0 before 3.8.3, from 3.9.0 before 3.9.1GitHub Advisory Database
apache zookeeperbefore 3.7.2, from 3.8.0 before 3.8.3, 3.9.0NVD
debian debian_linux10.0, 11.0, 12.0NVD
zookeeper (Bitnami)before 3.7.2, from 3.8.0 before 3.8.3, from 3.9.0 up to 3.9.0Bitnami Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasecritical rating

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like 'eve@EXAMPLE.COM', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default. Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue. Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue. See the documentation for more details on correct cluster administration.

NVD (es)

Vulnerabilidad de Omisión de Autorización a través de Clave Controlada por el Usuario en Apache ZooKeeper. Si la autenticación SASL Quorum Peer está habilitada en ZooKeeper (quorum.auth.enableSasl=true), la autorización se realiza verificando que la parte de la instancia en el ID de autenticación SASL aparece en la lista de servidores zoo.cfg. La parte de la instancia en el ID de autenticación de SASL es opcional y si falta, como 'eve@EXAMPLE.COM', se omitirá la verificación de autorización. Como resultado, un endpoint arbitrario podría unirse al clúster y comenzar a propagar cambios falsos al líder, dándole esencialmente acceso completo de lectura y escritura al árbol de datos. La autenticación de pares de quórum no está habilitada de forma predeterminada. Se recomienda a los usuarios actualizar a la versión 3.9.1, 3.8.3, 3.7.2, que soluciona el problema. Como alternativa, asegúrese de que la comunicación conjunta entre election y quórum esté protegida por un firewall, ya que esto mitigará el problema. Consulte la documentación para obtener más detalles sobre la correcta administración del clúster.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-44981 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-7286-pgfv-vxvh changed 2026-09-10CC-BY-4.0
NVDCVE-2023-44981 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ZOOKEEPER-2023-44981 changed 2026-09-08Apache-2.0