ZookeeperApplication · Apache

CVE-2024-23944

MEDIUM · 5.3 CVSS v3.1 Published 2024-03-15
Fix available
A fix is available. Upgrade to 3.8.4 / 3.9.2 or later.
See remediation →
55/100
Remediation priority · Elevated
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache ZooKeeper fails to perform ACL validation when a persistent watcher's trigger event fires on child znodes. An attacker with access to a parent znode can use the addWatch command to attach a persistent watcher and receive full paths of descendant znodes they lack permissions for, exposing potentially sensitive path information like usernames or IDs.

MitigationUpgrade Apache ZooKeeper to version 3.9.2 or 3.8.4 which includes the ACL check fix for persistent watcher path exposure.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ZookeeperApplication
Affected:>= 3.6.0, <= 3.7.2>= 3.8.0, < 3.8.4>= 3.9.0, < 3.9.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify ZooKeeper version
    Run `echo stat | nc localhost 2181` or use the `version` command in the ZooKeeper CLI ( `./zkServer.sh status` or `zkServer.sh -version`) to get the exact version number
    Affected if The installed version is 3.6.0 through 3.7.2, 3.8.0 through 3.8.3, or 3.9.0 through 3.9.1 (falls within >= 3.6.0 <= 3.7.2 OR >= 3.8.0 < 3.8.4 OR >= 3.9.0 < 3.9.2)
  2. Verify persistent watcher capability is in use
    Run `getAcl` on parent znodes that may have children, or use the ZooKeeper four-letter commands (like `wchc` for watcher stats if available) to list watchers. Check application configs for addWatch API calls
    Affected if Persistent watchers (addWatch command) are configured on parent znodes that contain child znodes with different or more restrictive ACLs
  3. Inspect ACL configuration on parent-child znode hierarchies
    Use ZooKeeper CLI: `getAcl /parent` and `getAcl /parent/child` to compare ACLs. If parent znode is accessible but children have different (stricter) ACLs, the vulnerability may allow path leakage
    Affected if Parent znodes have one ACL set while descendant znodes have different ACLs, creating a path exposure scenario where a user with parent access could receive child paths via persistent watcher events
  4. Audit for sensitive naming patterns in znode paths
    Review znodes under watched parent paths: use `ls -R /parent` in CLI or `getChildren` calls. Look for path segments that contain usernames, IDs, emails, or other PII that would be exposed in watcher event notifications
    Affected if Descendant znodes under watched parents contain sensitive information in their path names that would be disclosed through watcher callbacks to unauthorized users

You are affected if running a ZooKeeper version in the vulnerable range AND persistent watchers (addWatch) are configured on parent znodes that have child znodes with different ACLs, as the watcher can leak full descendant paths to users who lack permission on those children.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.8.4 / 3.9.2 or later
Fixed in 3.8.43.9.2
Interim mitigation

Upgrade Apache ZooKeeper to version 3.9.2 or 3.8.4 which includes the ACL check fix for persistent watcher path exposure.

Recommended fix High confidence

Apache ZooKeeper 3.9.2 or 3.8.4

  1. 1. Backup ZooKeeper data directory and configuration files (zoo.cfg, log4j.properties)
  2. 2. Stop the ZooKeeper service gracefully (bin/zkServer.sh stop)
  3. 3. Download Apache ZooKeeper 3.9.2 or 3.8.4 from the official Apache archive (archive.apache.org/dist/zookeeper)
  4. 4. Extract the new ZooKeeper tar.gz to the installation directory
  5. 5. Restore your existing configuration files to preserve custom settings
  6. 6. Start ZooKeeper service (bin/zkServer.sh start)
  7. 7. Verify the upgrade by checking the version: echo stat | nc localhost 2181 or ./bin/zkServer.sh status
  8. 8. Test that persistent watcher functionality works correctly with ACL enforcement

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Zookeeper Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,600
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-23944 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-23944 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data