GHSA-2hmj-97jw-28jh

    Dashboard / Vulnerabilities / GHSA-2hmj-97jw-28jh

    GHSA-2hmj-97jw-28jh

    Published: 24 Sept 2025Last Modified: 10 Sept 2026

    Summary: Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands

    Details: 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:zookeeper` 3.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.

    Affected packages

    Package

    Name: org.apache.zookeeper:zookeeper

    Purl: pkg:maven/org.apache.zookeeper/zookeeper

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.9.0
    Fixed -3.9.4

    Affected versions

    3.9.0
    3.9.1
    3.9.2
    3.9.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2hmj-97jw-28jh | CVE-DB