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

Medium CVSS 5.3

CVE id
CVE-2024-23944
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Apache ZooKeeper
Runtimes and servers
>= 3.6.0, <= 3.7.2
>= 3.8.0, < 3.8.4
>= 3.9.0, < 3.9.2
3.8.4, 3.9.2

How to fix it

Upgrade Apache ZooKeeper to the fixed release of the line you run: 3.8.4, 3.9.2.

  • Upgrade ZooKeeper (the zookeeper image tag or packages) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

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

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.