MODERATE 5.3

CVE-2024-23944

Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.zookeeper » zookeeper
>= 3.6.0, <= 3.7.2>= 3.8.0, < 3.8.4>= 3.9.0, < 3.9.2
3.8.4, 3.9.2

Blast radius

1affected artifacts
153affected versions
4,541dependent artifacts (est.)
212,995dependent versions

50% of the dependent artifacts (2,276) still pull an affected version in their latest release.

DepthDependent versions
Direct
22,337
2 hops
67,818
3 hops
47,381
4 hops
40,797
5 hops
25,621
6 hops
9,041

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.