CVE-2024-23944 Apache ZooKeeper: Information disclosure in persistent watcher handling
Attackers can monitor child znodes and expose sensitive path information via persistent watchers due to missing ACL checks in Apache ZooKeeper.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-23944?
CVE-2024-23944 is a medium-severity missing authorization vulnerability in Apache ZooKeeper, published on 15 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-862
Which versions are affected by CVE-2024-23944?
7 open source packages ship an affected version, including org.apache.zookeeper:zookeeper and zookeeper. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.zookeeper:zookeeper Maven | From 3.6.0 to 3.7.2 | None |
org.apache.zookeeper:zookeeper Maven | From 3.6.0 to 3.7.2 | None |
org.apache.zookeeper:zookeeper Maven | From 3.8.0 | 3.8.4 |
org.apache.zookeeper:zookeeper Maven | From 3.8.0 | 3.8.4 |
org.apache.zookeeper:zookeeper Maven | From 3.9.0 | 3.9.2 |
org.apache.zookeeper:zookeeper Maven | From 3.9.0 | 3.9.2 |
1 more packages
zookeeper Bitnami | From 3.6.0 | 3.8.4, 3.9.2 |
Products include Apache Zookeeper.
How do I fix CVE-2024-23944?
Upgrade org.apache.zookeeper:zookeeper to a fixed version for your release line: 3.8.4 or 3.9.2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-23944 being exploited?
There is no known exploitation of CVE-2024-23944 in the wild and no public exploit code.
Other vulnerabilities in Apache ZooKeeper
- CVE-2024-51504 Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
- CVE-2023-44981 Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication
- CVE-2016-5017 Memory corruption in n/a
- CVE-2026-59739 Apache ZooKeeper: Information disclosure via SetWatches reconnect replay
- CVE-2026-59969 Apache ZooKeeper: Improper validation of certificate with host mismatch in FIPS mode
Sources
Also known as BIT-zookeeper-2024-23944, CLEANSTART-2026-YW96996, DEBIAN-CVE-2024-23944, ECHO-0e1c-8839-7f9b, GHSA-r978-9m6m-6gm6, MINI-48vw-6g2m-74f4 and 3 more.