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)
| Artifact | Affected versions | Fixed 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
50% of the dependent artifacts (2,276) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.apache.curator » curator-recipes1,197 usages
- org.apache.curator » curator-framework1,070 usages
- org.apache.curator » curator-test1,002 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.solr » solr-solrj784 usages
- org.apache.flink » flink-core735 usages
- org.apache.hive » hive-exec699 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-23944
- Webhttps://github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c
- Webhttps://github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d
- Webhttps://github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8
- Packagehttps://github.com/apache/zookeeper
- Webhttps://lists.apache.org/thread/96s5nqssj03rznz9hv58txdb2k1lr79k
- Webhttp://www.openwall.com/lists/oss-security/2024/03/14/2
