CVE-2023-44981
Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication
Reported by apache · Published October 11, 2023
zookeeper is fixed in 3.9.1, 3.8.3, 3.8.2 and 3 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.zookeeper:zookeeper | Maven Central | 3.9.1, 3.8.3, 3.8.2, 3.7.2, 3.7.1, 3.7.0 |
| zookeeper | Bitnami | 3.9.0, 3.8.3, 3.7.2 |
| kafka | Chainguard | 3.6.0-r4 |
| trino | Wolfi | 478-r2 |
| trino | Chainguard | 478-r2 |
| kafka | Wolfi | 3.6.0-r4 |
| zookeeper | apache | 3.8.3, 3.7.2 |
| zookeeper | Bitnami | 3.9.0, 3.8.3, 3.7.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0, 3.8.0, 3.7.0 |
| chainguard | kafka | 0 |
| Apache Software Foundation | Apache ZooKeeper | 3.8.0, 0, 3.7.0 |
| Maven | org.apache.zookeeper:zookeeper | 3.9.0, 0, 3.8.0 |
| wolfi | trino | 0 |
| chainguard | trino | 0 |
| wolfi | kafka | 0 |
Timeline
- Oct 11, 2023 CVE Published
- Oct 12, 2023 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Feb 3, 2026 Distribution Patch (8 in total, the first dated here)
- Feb 3, 2026 Security Advisory (9 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-44981
vulnetix vdb fixes CVE-2023-44981
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-44981/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-44981 advisory
- https://github.com/advisories/GHSA-7286-pgfv-vxvh advisory
- https://github.com/apache/zookeeper url
- https://security.netapp.com/advisory/ntap-20240621-0007 advisory