Apache ZooKeeper: Information disclosure in persistent watcher handling
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-862 and CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ZooKeeper | 3.9.0 – 3.9.1; 3.8.0 – 3.8.3; 3.6.0 – 3.7.2 | — | No fix listed | CNA |
| — | org.apache.zookeeper:zookeeper (Maven) | 3.8.0 to before 3.8.4 | 3.8.4 | Patch available | GHSA-r978-9m6m-6gm6 |
| — | org.apache.zookeeper:zookeeper (Maven) | 3.9.0 to before 3.9.2 | 3.9.2 | Patch available | GHSA-r978-9m6m-6gm6 |
| — | org.apache.zookeeper:zookeeper (Maven) | 3.6.0 – 3.7.2 | — | No fix listed | GHSA-r978-9m6m-6gm6 |
- Apache ZooKeeper VendorApache Affected 3.9.0 – 3.9.1; 3.8.0 – 3.8.3; 3.6.0 – 3.7.2 Fixed in — No fix listed CNA
- org.apache.zookeeper:zookeeper (Maven) Vendor— Affected 3.8.0 to before 3.8.4 Fixed in 3.8.4 Patch available GHSA-r978-9m6m-6gm6
- org.apache.zookeeper:zookeeper (Maven) Vendor— Affected 3.9.0 to before 3.9.2 Fixed in 3.9.2 Patch available GHSA-r978-9m6m-6gm6
- org.apache.zookeeper:zookeeper (Maven) Vendor— Affected 3.6.0 – 3.7.2 Fixed in — No fix listed GHSA-r978-9m6m-6gm6
Remediation
- Fix · GHSA-r978-9m6m-6gm6 org.apache.zookeeper:zookeeper (Maven) Fixed in 3.8.4 Advisory →
- Fix · GHSA-r978-9m6m-6gm6 org.apache.zookeeper:zookeeper (Maven) Fixed in 3.9.2 Advisory →
Red Hat 1 advisory
- RHSA-2024:6536 Released 2024-09-10 · Red Hat rating ModerateRed Hat AMQ Streams 2.5.2 release and security update
- Red Hat AMQ Streams 2.5.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| streams for Apache Kafka | Affected | No fix yet |
| Red Hat AMQ Streams 2.5.2 | Fixed | RHSA-2024:6536 |
Not affected: 2 products
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23944
- 2026-10-03 Alias added: GHSA-r978-9m6m-6gm6
References
Advisory 2
Other 5
- https://github.com/apache/zookeeper/commit/29c7b9462681f47c2ac12e609341cf9f52abac5c
- https://github.com/apache/zookeeper/commit/65b91d2d9a56157285c2a86b106e67c26520b01d
- https://github.com/apache/zookeeper/commit/daf7cfd04005cff1a4f7cab5ab13d41db88d0cd8
- https://github.com/apache/zookeeper
- http://www.openwall.com/lists/oss-security/2024/03/14/2
More Apache Zookeeper vulnerabilities
- TI-2017-03638 Missing authentication in Apache ZooKeeper CVSS 3.0HIGH 7.5
- TI-2023-24043 Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication CVSS 3.1CRITICAL 9.1
- TI-2021-04395 Possible request smuggling in HTTP/2 due missing validation CVSS 3.1MEDIUM 5.9
- TI-2024-34425 Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server CVSS 3.1CRITICAL 9.1
- TI-2016-04336 Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before… CVSS 3.0HIGH 8.1
- TI-2018-05789 Missing authorization in Apache ZooKeeper CVSS 3.1HIGH 7.5
Sources
- CVE-2024-23944 · CVE Program
- CVE-2024-23944 · NVD
- FIRST EPSS
- GHSA-r978-9m6m-6gm6 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-23944 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences