Improper Handling of Insufficient Permissions or Privileges Affecting zookeeper-3.9-advanced-compat package, versions <3.9.4-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Handling of Insufficient Permissions or Privileges vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-ZOOKEEPER39ADVANCEDCOMPAT-13324603
  • published6 Oct 2025
  • disclosed24 Sept 2025

Introduced: 24 Sep 2025

NewCVE-2025-58457  (opens in a new tab)
CWE-280  (opens in a new tab)

How to fix?

Upgrade Minimos:latest zookeeper-3.9-advanced-compat to version 3.9.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zookeeper-3.9-advanced-compat package and not the zookeeper-3.9-advanced-compat package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Improper permission check in ZooKeeper AdminServer lets authorized clients to run snapshot and restore command with insufficient permissions.

This issue affects Apache ZooKeeper: from 3.9.0 before 3.9.4.

Users are recommended to upgrade to version 3.9.4, which fixes the issue.

The issue can be mitigated by disabling both commands (via admin.snapshot.enabled and admin.restore.enabled), disabling the whole AdminServer interface (via admin.enableServer), or ensuring that the root ACL does not provide open permissions. (Note that ZooKeeper ACLs are not recursive, so this does not impact operations on child nodes besides notifications from recursive watches.)