CVE-2025-58457

NameCVE-2025-58457
DescriptionImproper 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.)
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1116339

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
zookeeper (PTS)bullseye (security), bullseye3.4.13-6+deb11u1fixed
bookworm3.8.0-11+deb12u2fixed
bookworm (security)3.8.0-11+deb12u1fixed
trixie3.9.3-1vulnerable
forky, sid3.9.3-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
zookeepersourcebullseye(not affected)
zookeepersourcebookworm(not affected)
zookeepersource(unstable)(unfixed)1116339

Notes

[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)

Search for package or bug name: Reporting problems