CVE-2024-23944
Apache ZooKeeper: Information disclosure in persistent watcher handling
Reported by apache · Published March 15, 2024
zookeeper is fixed in 3.9.2, 3.9.1, 3.8.4 and 2 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.zookeeper:zookeeper | Maven Central | 3.9.2, 3.9.1, 3.8.4, 3.8.3, 3.7.2 |
| zookeeper | Bitnami | 3.9.2, 3.8.4 |
| kafka | Wolfi | 3.7.0-r2 |
| tez | Chainguard | 0.10.4-r6 |
| solr | Wolfi | 9.5.0-r2 |
| trino | Wolfi | 443-r0 |
| kafka | Chainguard | 3.7.0-r2 |
| kafka-jre-bcfips | Chainguard | 3.7.1-r0 |
| confluent-kafka | Chainguard | 8.2.0.367-r0 |
| tez | Wolfi | 0.10.4-r6 |
| solr | Chainguard | 9.5.0-r2 |
| trino | Chainguard | 443-r0 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0, 3.8.0, 3.6.0 |
| Apache Software Foundation | Apache ZooKeeper | 3.6.0, 3.8.0, 3.9.0 |
| wolfi | kafka | 0 |
| chainguard | tez | 0 |
| wolfi | solr | 0 |
| wolfi | trino | 0 |
| chainguard | kafka | 0 |
| chainguard | kafka-jre-bcfips | 0 |
| chainguard | confluent-kafka | 0 |
| wolfi | tez | 0 |
| chainguard | solr | 0 |
| Maven | org.apache.zookeeper:zookeeper | 3.6.0, 3.8.0, 3.9.0 |
| chainguard | trino | 0 |
| chainguard | hive | 0 |
| wolfi | confluent-kafka | 0 |
| chainguard | confluent-common-docker | 0 |
| chainguard | spark-3.5 | 0 |
| wolfi | confluent-common-docker | 0 |
Timeline
- Feb 8, 2024 PoC Published
- Mar 15, 2024 CVE Published
- Mar 16, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23944
vulnetix vdb fixes CVE-2024-23944
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23944/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- http://www.openwall.com/lists/oss-security/2024/03/14/2 url
- https://nvd.nist.gov/vuln/detail/CVE-2024-23944 advisory
- https://github.com/advisories/GHSA-r978-9m6m-6gm6 advisory
- https://github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c patch
- https://github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d patch
- https://github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8 patch
- https://github.com/apache/zookeeper url