GHSA-r978-9m6m-6gm6
Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling
Quick fix
GHSA-r978-9m6m-6gm6 — org.apache.zookeeper:zookeeper: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.8.4</version> for org.apache.zookeeper:zookeeperDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
3.8.0Fixed in: 3.8.4# pom.xml: bump <version>3.8.4</version> for org.apache.zookeeper:zookeeper3.9.0Fixed in: 3.9.2# pom.xml: bump <version>3.9.2</version> for org.apache.zookeeper:zookeeper3.6.0No fixed version published yet for org.apache.zookeeper:zookeeper (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23944[ADVISORY]
- https://github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c[WEB]
- https://github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d[WEB]
- https://github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8[WEB]
- https://github.com/apache/zookeeper[PACKAGE]
- https://lists.apache.org/thread/96s5nqssj03rznz9hv58txdb2k1lr79k[WEB]
- http://www.openwall.com/lists/oss-security/2024/03/14/2[WEB]