CVE-2023-44981: Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication
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.
Other sources
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', 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.
https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b http://www.openwall.com/lists/oss-security/2023/10/11/4
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.4.13-3ubuntu0.1~ - Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.4.13-5ubuntu0.1 - Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.4.13-6ubuntu4.1 - Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.8.0-10ubuntu0.1 - Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.7.2Fixed in 3.8.3Fixed in 3.9.1 - Upgrade
Upgrade
ubuntu/zookeeperto a version that resolves this vulnerability.Fixed in 3.8.0-11ubuntu0.1 - Upgrade
Upgrade
debian/zookeeperto a version that resolves this vulnerability.Fixed in 3.4.13-2+deb10u1Fixed in 3.4.13-6+deb11u1Fixed in 3.8.0-11+deb12u1Fixed in 3.9.1-1 - Upgrade
Upgrade
maven/org.apache.zookeeper:zookeeperto a version that resolves this vulnerability.Fixed in 3.9.1 - Upgrade
Upgrade
maven/org.apache.zookeeper:zookeeperto a version that resolves this vulnerability.Fixed in 3.8.3 - Upgrade
Upgrade
maven/org.apache.zookeeper:zookeeperto a version that resolves this vulnerability.Fixed in 3.7.2 - Upgrade
Upgrade
redhat/zookeeperto a version that resolves this vulnerability.Fixed in 3.9.1 - Upgrade
Upgrade
redhat/zookeeperto a version that resolves this vulnerability.Fixed in 3.8.3 - Upgrade
Upgrade
redhat/zookeeperto a version that resolves this vulnerability.Fixed in 3.7.2 - Upgrade
Upgrade
Apache ZooKeeperto a version that resolves this vulnerability.Fixed in 3.9.1 - Upgrade
Upgrade
Apache ZooKeeperto a version that resolves this vulnerability.Fixed in 3.8.3 - Upgrade
Upgrade
Apache ZooKeeperto a version that resolves this vulnerability.Fixed in 3.7.2 - Compensating control
If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), mitigate by ensuring the ensemble election/quorum communication is protected by a firewall.
Event History
Frequently Asked Questions
What is CVE-2023-44981?
CVE-2023-44981 is a vulnerability in Apache ZooKeeper that allows authorization bypass through user-controlled key.
What is the severity of CVE-2023-44981?
The severity of CVE-2023-44981 is critical with a CVSS score of 9.1.
How does CVE-2023-44981 affect Apache ZooKeeper?
CVE-2023-44981 affects Apache ZooKeeper by enabling an authorization bypass in SASL Quorum Peer Authentication.
Which versions of Apache ZooKeeper are affected by CVE-2023-44981?
CVE-2023-44981 affects Apache ZooKeeper versions 3.9.0 to 3.9.1, 3.8.0 to 3.8.3, and 3.7.2.
How can I fix CVE-2023-44981?
To fix CVE-2023-44981, update Apache ZooKeeper to version 3.9.1, 3.8.3, or 3.7.2.