Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling
Medium5.3CVE-2024-23944 · Published Mar 15, 2024 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.zookeeper:zookeeper Maven | >= 3.8.0, < 3.8.4 | 3.8.4 |
| >= 3.9.0, < 3.9.2 | 3.9.2 | |
| >= 3.6.0, <= 3.7.2 | No fix yet |
Details and references
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.
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-200, CWE-862
- Also known as
- BIT-zookeeper-2024-23944, CVE-2024-23944
- nvd.nist.gov/vuln/detail/CVE-2024-23944
- github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c
- github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d
- github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8
- github.com/apache/zookeeper
- lists.apache.org/thread/96s5nqssj03rznz9hv58txdb2k1lr79k
- www.openwall.com/lists/oss-security/2024/03/14/2
More Apache ZooKeeper advisories
All Apache ZooKeeper| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Oct 112023 | Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper CVE-2023-44981Critical9.1fixed in 3.7.2, 3.8.3, 3.9.1 | Critical9.1 | 3.7.2, 3.8.3, 3.9.1 |
| Nov 72024 | Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server CVE-2024-51504Highfixed in 3.9.3 | High | 3.9.3 |
| Sep 242025 | Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands CVE-2025-58457Medium4.3fixed in 3.9.4 | Medium4.3 | 3.9.4 |
| May 132022 | Uncontrolled Resource Consumption in Apache ZooKeeper CVE-2017-5637High7.5fixed in 3.4.10, 3.5.3 | High7.5 | 3.4.10, 3.5.3 |
| May 132022 | Missing Authorization in Apache ZooKeeper CVE-2018-8012High7.5fixed in 3.4.10, 3.5.4-beta | High7.5 | 3.4.10, 3.5.4-beta |
| Mar 7 | Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager CVE-2026-24281High7.4fixed in 3.8.6, 3.9.5 | High7.4 | 3.8.6, 3.9.5 |