CVE-2023-44981
CVE-2023-44981 · Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication
CVSS 9.1 · Critical · EPSS 2.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache zookeeperUpdate to 3.9.1
- zookeeper Debian 12Update to 3.8.0-11+deb12u1
- zookeeper Debian 13Update to 3.9.1-1
- zookeeper Debian 14Update to 3.9.1-1
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="zookeeper"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like '[email protected]', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default.
Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue.
Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue.
See the documentation for more details on correct cluster administration.
- Published
- Updated
Fixes in distributions
- USN-6559-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
- DSA-5544-1 · Debian 11, Debian 12 ·
- DLA-3624-1 · Debian 10 ·
Stack: system
Affected products and versions
apache zookeeper
- Versions
- ≥ 3.9.0, < 3.9.1: Affected (maven)
- ≥ 3.8.0, ≤ 3.8.2: Affected (maven)
- ≥ 3.7.0, ≤ 3.7.1: Affected (maven)
- ≥ 0, < 3.7.0: Affected (maven)
Update to 3.9.1
zookeeper Debian 12
- Versions
- 3.8.0-11
- Affected ranges
- ECOSYSTEM: < 3.8.0-11+deb12u1
Update to 3.8.0-11+deb12u1
zookeeper Debian 13
- Affected ranges
- ECOSYSTEM: < 3.9.1-1
Update to 3.9.1-1
zookeeper Debian 14
- Affected ranges
- ECOSYSTEM: < 3.9.1-1
Update to 3.9.1-1
zookeeper Ubuntu Pro 18.04 LTS
- Versions
- 3.4.10-2
- 3.4.10-3
- 3.4.13-3
- Affected ranges
- ECOSYSTEM: < 3.4.13-3ubuntu0.1~esm1
Update to 3.4.13-3ubuntu0.1~esm1
zookeeper Ubuntu 20.04 LTS
- Versions
- 3.4.13-1
- 3.4.13-3
- 3.4.13-3build1
- 3.4.13-4
- 3.4.13-5
- 3.4.13-5build1
- Affected ranges
- ECOSYSTEM: < 3.4.13-5ubuntu0.1
Update to 3.4.13-5ubuntu0.1
zookeeper Ubuntu 22.04 LTS
- Versions
- 3.4.13-5ubuntu4
- 3.4.13-6ubuntu2
- 3.4.13-6ubuntu3
- 3.4.13-6ubuntu4
- Affected ranges
- ECOSYSTEM: < 3.4.13-6ubuntu4.1
Update to 3.4.13-6ubuntu4.1
Original sources
- https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b
- http://www.openwall.com/lists/oss-security/2023/10/11/4
- https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html
- https://www.debian.org/security/2023/dsa-5544
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://nvd.nist.gov/vuln/detail/CVE-2023-44981