CVE-2023-44981 Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebianNetwork Appliances
Description
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 'eve@EXAMPLE.COM', 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.
Upgrade path
9 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache zookeeper | < 3.7.2; = 3.9.0; >= 3.8.0, < 3.8.3 | 3.7.2, 3.8.3 | Fixed |
| debian/zookeeper(Debian 12) | < 3.8.0-11+deb12u1; = 3.8.0-11 | 3.8.0-11+deb12u1 | Fixed |
| debian/zookeeper(Debian 13) | < 3.9.1-1 | 3.9.1-1 | Fixed |
| debian/zookeeper(Debian 14) | < 3.9.1-1 | 3.9.1-1 | Fixed |
| org.apache.zookeeper/zookeeper(Maven) | < 3.7.0; < 3.7.2; = 3.3.0; = 3.3.1 +46 more | 3.7.0, 3.7.2, 3.8.3, 3.9.1 | Fixed |
| ubuntu/zookeeper(Ubuntu 20.04) | < 3.4.13-5ubuntu0.1; = 3.4.13-1; = 3.4.13-3; = 3.4.13-3build1 +3 more | 3.4.13-5ubuntu0.1 | Fixed |
| ubuntu/zookeeper(Ubuntu 22.04) | < 3.4.13-6ubuntu4.1; = 3.4.13-5ubuntu4; = 3.4.13-6ubuntu2; = 3.4.13-6ubuntu3 +1 more | 3.4.13-6ubuntu4.1 | Fixed |
| ubuntu/zookeeper(Ubuntu Pro 18.04) | < 3.4.13-3ubuntu0.1~esm1; = 3.4.10-2; = 3.4.10-3; = 3.4.13-3 | 3.4.13-3ubuntu0.1~esm1 | Fixed |
| debian linux | = 10.0; = 11.0; = 12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.zookeeper/zookeeper(Maven) | < 3.7.2 | 3.7.2 |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.3 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.4 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.5 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.3.6 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.10 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.11 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.12 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.13 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.14 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.3 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.4 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.5 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.6 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.7 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.8 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.4.9 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.0-alpha | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.1-alpha | No fix listed |
Show 51 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.10 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.2-alpha | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.3-beta | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.4-beta | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.5 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.6 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.7 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.8 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.5.9 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.6.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.6.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.6.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.6.3 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.6.4 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.7.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.7.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | >= 3.8.0, < 3.8.3 | 3.8.3 |
| org.apache.zookeeper/zookeeper(Maven) | = 3.8.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.8.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.8.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | >= 3.9.0, < 3.9.1 | 3.9.1 |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.0 | No fix listed |
| debian/zookeeper(Debian:12) | < 3.8.0-11+deb12u1 | 3.8.0-11+deb12u1 |
| debian/zookeeper(Debian:12) | = 3.8.0-11 | No fix listed |
| debian/zookeeper(Debian:13) | < 3.9.1-1 | 3.9.1-1 |
| debian/zookeeper(Debian:14) | < 3.9.1-1 | 3.9.1-1 |
| org.apache.zookeeper/zookeeper(Maven) | >= 3.8.0, <= 3.8.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | >= 3.7.0, <= 3.7.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | < 3.7.0 | 3.7.0 |
| ubuntu/zookeeper(Ubuntu:22.04) | < 3.4.13-6ubuntu4.1 | 3.4.13-6ubuntu4.1 |
| apache zookeeper | < 3.7.2 | 3.7.2 |
| apache zookeeper | >= 3.8.0, < 3.8.3 | 3.8.3 |
| apache zookeeper | = 3.9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| debian linux | = 12.0 | No fix listed |
| ubuntu/zookeeper(Ubuntu:Pro:18.04) | < 3.4.13-3ubuntu0.1~esm1 | 3.4.13-3ubuntu0.1~esm1 |
| ubuntu/zookeeper(Ubuntu:Pro:18.04) | = 3.4.10-2 | No fix listed |
| ubuntu/zookeeper(Ubuntu:Pro:18.04) | = 3.4.10-3 | No fix listed |
| ubuntu/zookeeper(Ubuntu:Pro:18.04) | = 3.4.13-3 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | < 3.4.13-5ubuntu0.1 | 3.4.13-5ubuntu0.1 |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-1 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-3 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-3build1 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-4 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-5 | No fix listed |
| ubuntu/zookeeper(Ubuntu:20.04) | = 3.4.13-5build1 | No fix listed |
| ubuntu/zookeeper(Ubuntu:22.04) | = 3.4.13-5ubuntu4 | No fix listed |
| ubuntu/zookeeper(Ubuntu:22.04) | = 3.4.13-6ubuntu2 | No fix listed |
| ubuntu/zookeeper(Ubuntu:22.04) | = 3.4.13-6ubuntu3 | No fix listed |
| ubuntu/zookeeper(Ubuntu:22.04) | = 3.4.13-6ubuntu4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- lists.apache.org issue-tracking vendor-advisory
- lists.debian.org mailing-list
- security.netapp.com
- www.debian.org mailing-list third-party-advisory
- www.openwall.com issue-tracking mailing-list third-party-advisory
- github.com
- Debian Security Tracker CVE-2023-44981 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6559-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- www.openwall.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking