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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 – < 3.9.1, 3.8.0 – ≤ 3.8.2, 3.7.0 – ≤ 3.7.1, < 3.7.0 | 3.9.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | zookeeper | 3.9.1-1 | — |
| Debian 13 | zookeeper | 3.9.1-1 | — |
| Debian 12 | zookeeper | 3.8.0-11+deb12u1 | DSA-5544-1 |
| Debian 11 | zookeeper | 3.4.13-6+deb11u1 | DSA-5544-1 |
| Debian 10 | zookeeper | 3.4.13-2+deb10u1 | DLA-3624-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | zookeeper | 3.4.13-6ubuntu4.1 | USN-6559-1 |
| Ubuntu 20.04 LTS | zookeeper | 3.4.13-5ubuntu0.1 | USN-6559-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | zookeeper | 3.4.13-3ubuntu0.1~esm1 | USN-6559-1 |
| Ubuntu Pro 16.04 LTS | zookeeper | 3.4.8-1ubuntu0.1~esm2 | USN-6559-1 |
| Ubuntu Pro 14.04 LTS | zookeeper | 3.4.5+dfsg-1ubuntu0.1~esm3 | USN-6559-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | trino | 478-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.zookeeper:zookeeper | < 3.7.2 | 3.7.2 | GHSA-7286-pgfv-vxvh |
| Maven | org.apache.zookeeper:zookeeper | >= 3.8.0, < 3.8.3 | 3.8.3 | GHSA-7286-pgfv-vxvh |
| Maven | org.apache.zookeeper:zookeeper | >= 3.9.0, < 3.9.1 | 3.9.1 | GHSA-7286-pgfv-vxvh |
Advisories 10
- USN-6559-1 zookeeper vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2026-1204 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- DSA-5544-1 zookeeper - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3624-1 zookeeper - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2023-3070 Red Hat JBoss A-MQ: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 16, 2025
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
- WID-SEC-2024-0873 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024
- WID-SEC-2024-0107 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0106 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0105 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
References
- https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/10/11/4
- https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html
- https://www.debian.org/security/2023/dsa-5544
- https://security.netapp.com/advisory/ntap-20240621-0007/