Information Exposure Affecting org.apache.zookeeper:zookeeper package, versions [3.6.0,3.8.3) [3.9.0,3.9.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.04% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGAPACHEZOOKEEPER-6447882
  • published 17 Mar 2024
  • disclosed 15 Mar 2024
  • credit Zhou Ji'an

How to fix?

Upgrade org.apache.zookeeper:zookeeper to version 3.8.3, 3.9.1 or higher.

Overview

org.apache.zookeeper:zookeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

Affected versions of this package are vulnerable to Information Exposure due to a missing ACL check in the handling of persistent watchers. An attacker can monitor child znodes by attaching a persistent watcher (addWatch command) to a parent node to which the attacker already has access. The server does not perform an ACL check when the persistent watcher is triggered, leading to the exposure of the full path of znodes that a watch event is triggered upon to the owner of the watcher.

Note

Only the path is exposed by this vulnerability, not the data in the znode. Since the znode path may contain sensitive information such as usernames or login IDs, the impact on confidentiality is "High".