GHSA-2hmj-97jw-28jh

Suggest an improvement
Source
https://github.com/advisories/GHSA-2hmj-97jw-28jh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-2hmj-97jw-28jh/GHSA-2hmj-97jw-28jh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2hmj-97jw-28jh
Aliases
Downstream
Published
2025-09-24T12:30:20Z
Modified
2026-09-10T03:50:27Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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.
Database specific
{
    "cwe_ids": [
        "CWE-280"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-09-24T19:00:08Z",
    "nvd_published_at": "2025-09-24T10:15:28Z",
    "severity": "MODERATE"
}
References

Affected packages

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
3.9.4

Affected versions

3.*
3.9.0
3.9.1
3.9.2
3.9.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-2hmj-97jw-28jh/GHSA-2hmj-97jw-28jh.json"