CVE-2025-58457
ADVISORY - githubSummary
Improper permission checks in the AdminServer allow an authenticated client with insufficient privileges to invoke the snapshot and restore commands. The intended requirement is authentication and authorization on the root path (/) with ALL permission for these operations; however, affected versions permit invocation without that level of authorization. The primary risk is disclosure of cluster state via snapshots to a lesser-privileged client.
- Affected:
org.apache.zookeeper:zookeeper3.9.0 through 3.9.3. - Fixed: 3.9.4 (ZOOKEEPER-4964 “check permissions individually during admin server auth”).
- Mitigations:
- Disable both commands (
admin.snapshot.enabled,admin.restore.enabled). - Disable AdminServer (
admin.enableServer). - Ensure the root ACL is not open; note that ZooKeeper ACLs are not recursive.
- Upgrade to 3.9.4.
- Disable both commands (
Common Weakness Enumeration (CWE)
Improper Handling of Insufficient Permissions or Privileges
Improper Handling of Insufficient Permissions or Privileges
Improper Handling of Insufficient Permissions or Privileges
NIST
2.8
CVSS SCORE
4.3mediumGitHub
2.8
CVSS SCORE
4.3mediumDebian
-
CVSS SCORE
N/AlowUbuntu
-
CVSS SCORE
N/AmediumBitnami
BIT-zookeeper-2025-58457
2.8
CVSS SCORE
4.3mediumRed Hat
2.8
CVSS SCORE
4.3mediumChainguard
CGA-3jvr-pcpc-gx35
-
Chainguard
CGA-6f54-m22c-h55h
-
Chainguard
CGA-cq5w-qvvj-phxg
-
Chainguard
CGA-g4wh-hpww-wvx9
-
Chainguard
CGA-jcj7-w8c7-27p8
-
Chainguard
CGA-m88p-r4m6-cfxc
-
Chainguard
CGA-m9cx-5jvq-w2g4
-
Chainguard
CGA-p2xx-5xcf-6wcq
-
Chainguard
CGA-p7r5-7hhw-c65h
-
Chainguard
CGA-w9rg-f495-r49m
-
Chainguard
CGA-x2h9-qrfg-hx58
-
minimos
MINI-48x2-mm8g-v5vm
-
minimos
MINI-8f68-jf2c-xg3q
-
minimos
MINI-gwf3-5cgp-857w
-
minimos
MINI-xvjp-33xg-852j
-