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 package | Versions | Reported by |
|---|---|---|
| org.apache.zookeeper:zookeeper | from 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.0 | CVE 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.1 | GitHub Advisory Database |
| apache zookeeper | before 3.7.2, from 3.8.0 before 3.8.3, 3.9.0 | NVD |
| debian debian_linux | 10.0, 11.0, 12.0 | NVD |
| zookeeper (Bitnami) | before 3.7.2, from 3.8.0 before 3.8.3, from 3.9.0 up to 3.9.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | critical rating |
Classification
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
| https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b | advisory, issue-tracking, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/10/11/4 | advisory, mailing-list, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html | discussion, mailing-list, web | |
| https://www.debian.org/security/2023/dsa-5544 | advisory, mailing-list, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20240621-0007/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-44981 | advisory, web | |
| https://github.com/apache/zookeeper | package | |
| https://security.netapp.com/advisory/ntap-20240621-0007 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-44981 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7286-pgfv-vxvh changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-44981 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ZOOKEEPER-2023-44981 changed 2026-09-08 | Apache-2.0 |