GitHub Advisoryadvisory · Maven

GHSA-r978-9m6m-6gm6 Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling

MEDIUM Published 2024-03-15 Modified 2025-07-03 Official page ↗
Aliases
CVE-2024-23944
Ecosystem
Maven
Packages
org.apache.zookeeper:zookeeper
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-200, CWE-862
Reviewed
2024-03-15

Affected packages

• Maven org.apache.zookeeper:zookeeper: >= 3.8.0, < 3.8.4 → fixed in 3.8.4 • Maven org.apache.zookeeper:zookeeper: >= 3.9.0, < 3.9.2 → fixed in 3.9.2 • Maven org.apache.zookeeper:zookeeper: >= 3.6.0, <= 3.7.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-23944 Information disclosure in persistent watchers handling in Apache ZooKeeper due to missing ACL check. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-862 Missing Authorization weakness

References