Name | CVE-2025-58457 |
Description | 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.) |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1116339 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
zookeeper (PTS) | bullseye (security), bullseye | 3.4.13-6+deb11u1 | fixed |
bookworm | 3.8.0-11+deb12u2 | fixed | |
bookworm (security) | 3.8.0-11+deb12u1 | fixed | |
trixie | 3.9.3-1 | vulnerable | |
forky, sid | 3.9.3-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
zookeeper | source | bullseye | (not affected) | |||
zookeeper | source | bookworm | (not affected) | |||
zookeeper | source | (unstable) | (unfixed) | 1116339 |
[bookworm] - zookeeper <not-affected> (Vulnerable code not present)
[bullseye] - zookeeper <not-affected> (Vulnerable code not present)
https://lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx
https://issues.apache.org/jira/browse/ZOOKEEPER-4964
Introduced with: https://github.com/apache/zookeeper/commit/d79811bf28f00fb1db6ec6002e884af6cfd0d7fc (release-3.9.0)
Fixed by: https://github.com/apache/zookeeper/commit/99783741ee2027d4612701a3ec7f40df4211a1cd (release-3.9.4)
Fixed by: https://github.com/apache/zookeeper/commit/63723a77a29dae974611702769bf62c4d77fe3f5 (release-3.9.4)