CVE-2024-23944 Apache ZooKeeper: Information disclosure in persistent watcher handling

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
org.apache.zookeeper:zookeeper MavenFrom 3.6.0 to 3.7.2None
org.apache.zookeeper:zookeeper MavenFrom 3.6.0 to 3.7.2None
org.apache.zookeeper:zookeeper MavenFrom 3.8.03.8.4
org.apache.zookeeper:zookeeper MavenFrom 3.8.03.8.4
org.apache.zookeeper:zookeeper MavenFrom 3.9.03.9.2
org.apache.zookeeper:zookeeper MavenFrom 3.9.03.9.2
1 more packages
zookeeper BitnamiFrom 3.6.03.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.

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.

Is CVE-2024-23944 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free