Description
Information disclosure in persistent watchers handling in Apache ZooKeeper due to missing ACL check. It allows an attacker to monitor child znodes by attaching a persistent watcher (addWatch command) to a parent which the attacker has already access to. ZooKeeper server doesn't do ACL check when the persistent watcher is triggered and as a consequence, the full path of znodes that a watch event gets triggered upon is exposed to the owner of the watcher. It's important to note that only the path is exposed by this vulnerability, not the data of znode, but since znode path can contain sensitive information like user name or login ID, this issue is potentially critical.
Users are recommended to upgrade to version 3.9.2, 3.8.4 which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 – ≤ 3.9.1, 3.8.0 – ≤ 3.8.3, 3.6.0 – ≤ 3.7.2 | — |
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.2-1 | — |
| Debian 13 | zookeeper | 3.9.2-1 | — |
| Debian 12 | zookeeper | 3.8.0-11+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | zookeeper | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | confluent-common-docker | 7.6.9-r0 | — |
| Wolfi rolling | confluent-kafka | 8.2.0.367-r0 | — |
| Wolfi rolling | tez | 0.10.4-r6 | — |
| Wolfi rolling | trino +58 | 443-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.zookeeper:zookeeper | >= 3.8.0, < 3.8.4 | 3.8.4 | GHSA-r978-9m6m-6gm6 |
| Maven | org.apache.zookeeper:zookeeper | >= 3.9.0, < 3.9.2 | 3.9.2 | GHSA-r978-9m6m-6gm6 |
| Maven | org.apache.zookeeper:zookeeper | >= 3.6.0, <= 3.7.2 | — | GHSA-r978-9m6m-6gm6 |
Advisories 2
- WID-SEC-2024-1641 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
References
- https://lists.apache.org/thread/96s5nqssj03rznz9hv58txdb2k1lr79k vendor-advisory