MediumGHSA-2hw2-62cp-p9p7CVE-2019-0201

Access control bypass in Apache ZooKeeper

Published 29 May 2019 · Updated 14 Mar 2024

Is your project on an affected org.apache.zookeeper:zookeeper?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=1.0.0 <3.4.14
Fixed in
3.4.14
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.zookeeper:zookeeper -DdepVersion=3.4.14 -DforceVersion=true
Affected
>=3.5.0 <3.5.5
Fixed in
3.5.5
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.zookeeper:zookeeper -DdepVersion=3.5.5 -DforceVersion=true

Details

An issue is present in Apache ZooKeeper 1.0.0 to 3.4.13 and 3.5.0-alpha to 3.5.4-beta. ZooKeeper?s getACL() command doesn?t check any permission when retrieves the ACLs of the requested node and returns all information contained in the ACL Id field as plaintext string. DigestAuthenticationProvider overloads the Id field with the hash value that is used for user authentication. As a consequence, if Digest Authentication is in use, the unsalted hash value will be disclosed by getACL() request for unauthenticated or unprivileged users.

Is GHSA-2hw2-62cp-p9p7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.zookeeper:zookeeper, and gives you the command that fixes it.

More advisories for org.apache.zookeeper:zookeeper

  • HighCVE-2026-24281Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager · 7 Mar 2026
  • HighCVE-2026-24308Apache ZooKeeper has improper handling of configuration values · 7 Mar 2026
  • MediumCVE-2025-58457Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands · 24 Sept 2025
  • HighCVE-2024-51504Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server · 7 Nov 2024
  • MediumCVE-2024-23944Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling · 15 Mar 2024
  • CriticalCVE-2023-44981Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper · 11 Oct 2023
All 9 advisories for org.apache.zookeeper:zookeeper

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.