CVEfocus › CVE database › CVE-2024-23944

CVE-2024-23944Apache ZooKeeper: Information disclosure in persistent watcher handling

CVSS 5.3 MediumEPSS 0.2% (higher than 16% of CVEs)Published 2024-03-15Updated 2025-07-03Assigner: apache

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.

CWE-862

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04zookeeperNot affected
vulnerable_code_not_present
Ubuntu 25.10zookeeperNot affected
vulnerable_code_not_present
Ubuntu 24.04zookeeperFix pendingUBUNTU-CVE-2024-23944
Ubuntu 22.04zookeeperNot affected
vulnerable_code_not_present
Ubuntu 20.04zookeeperFix pending
Debian 14zookeeperFixed3.9.2-1DEBIAN-CVE-2024-23944
Debian 13zookeeperFixed3.9.2-1DEBIAN-CVE-2024-23944
Debian 12zookeeperFixed3.8.0-11+deb12u2DEBIAN-CVE-2024-23944
Maven libraryorg.apache.zookeeper:zookeeperFixed3.9.2GHSA-r978-9m6m-6gm6

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.