Skip to content

Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling

Moderate severity GitHub Reviewed Published Mar 15, 2024 to the GitHub Advisory Database • Updated May 12, 2024

Package

maven org.apache.zookeeper:zookeeper (Maven)

Affected versions

>= 3.8.0, <= 3.8.3
>= 3.9.0, <= 3.9.1
>= 3.6.0, <= 3.7.2

Patched versions

3.8.4
3.9.2

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.

References

Published by the National Vulnerability Database Mar 15, 2024
Published to the GitHub Advisory Database Mar 15, 2024
Reviewed Mar 15, 2024
Last updated May 12, 2024

Severity

Moderate

Weaknesses

CVE ID

CVE-2024-23944

GHSA ID

GHSA-r978-9m6m-6gm6

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.