CVE-2024-23944: Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling
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.
Published Mar 15, 2024 · Updated Jun 30, 2025
Affected packages
org.apache.zookeeper:zookeeper
- Ecosystem
- Maven
- Affected
- >= 3.8.0, <= 3.8.3
- Fixed in
- 3.8.4
- Check
mvn dependency:tree -Dincludes=org.apache.zookeeper:zookeeper
org.apache.zookeeper:zookeeper
- Ecosystem
- Maven
- Affected
- >= 3.9.0, <= 3.9.1
- Fixed in
- 3.9.2
- Check
mvn dependency:tree -Dincludes=org.apache.zookeeper:zookeeper
org.apache.zookeeper:zookeeper
- Ecosystem
- Maven
- Affected
- >= 3.6.0, <= 3.7.2
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.apache.zookeeper:zookeeper
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23944
- https://lists.apache.org/thread/96s5nqssj03rznz9hv58txdb2k1lr79k
- https://github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c
- https://github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d
- https://github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8
- https://github.com/advisories/GHSA-r978-9m6m-6gm6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-24281
Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager
high7.4Mar 7, 2026CVE-2026-24308
Apache ZooKeeper has improper handling of configuration values
high8.7Mar 7, 2026CVE-2025-58457
Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
medium4.3Sep 24, 2025CVE-2024-51504
Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
high8.8Nov 7, 2024
