CVE-2023-44981
zookeeper: Authorization Bypass in Apache ZooKeeper
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami. Rated lower by Red Hat (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | zookeeper | 3.7.2, 3.8.3 |
| maven::GitHub Security Advisory Maven | org.apache.zookeeper:zookeeper | 3.7.2, 3.8.3, 3.9.1 |
| chainguard | trino | 478-r2 |
| debian 10 | zookeeper | 3.4.13-2+deb10u1 |
| debian 11 | zookeeper | 3.4.13-6+deb11u1 |
| debian 12 | zookeeper | 3.8.0-11+deb12u1 |
| debian 13 | zookeeper | 3.9.1-1 |
| debian 14 | zookeeper | 3.9.1-1 |
| echo | zookeeper | 3.8.0-11+deb12u1 |
| rapidfort ubuntu 20.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
| rapidfort ubuntu 22.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
| rapidfort ubuntu 24.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
Show all 19 entries from 19 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | zookeeper | 3.7.2, 3.8.3 |
| maven::GitHub Security Advisory Maven | org.apache.zookeeper:zookeeper | 3.7.2, 3.8.3, 3.9.1 |
| chainguard | trino | 478-r2 |
| debian 10 | zookeeper | 3.4.13-2+deb10u1 |
| debian 11 | zookeeper | 3.4.13-6+deb11u1 |
| debian 12 | zookeeper | 3.8.0-11+deb12u1 |
| debian 13 | zookeeper | 3.9.1-1 |
| debian 14 | zookeeper | 3.9.1-1 |
| echo | zookeeper | 3.8.0-11+deb12u1 |
| rapidfort ubuntu 20.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
| rapidfort ubuntu 22.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
| rapidfort ubuntu 24.04 | zookeeper | 0:3.4.13-6ubuntu4.1 |
| ubuntu 18.04-ESM | zookeeper | 3.4.13-3ubuntu0.1~esm1 |
| ubuntu 20.04 | zookeeper | 3.4.13-5ubuntu0.1 |
| ubuntu 20.04-ESM | zookeeper | 3.4.13-5ubuntu0.1 |
| ubuntu 22.04 | zookeeper | 3.4.13-6ubuntu4.1 |
| ubuntu 23.04 | zookeeper | 3.8.0-10ubuntu0.1 |
| ubuntu 23.10 | zookeeper | 3.8.0-11ubuntu0.1 |
| wolfi | trino | 478-r2 |
References
- http://www.openwall.com/lists/oss-security/2023/10/11/4
- https://access.redhat.com/security/cve/CVE-2023-44981
- https://github.com/apache/zookeeper
- https://github.com/apache/zookeeper/commit/96b3172ca249a8580e9a315d589d319286cee4ee%20%28branch-3.8%29
- https://github.com/apache/zookeeper/commit/e2070bed85d8b0c98a5a0045bf92421f473c412e%20%28master%29
- https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b
- https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-44981
All 14 references
- https://security.netapp.com/advisory/ntap-20240621-0007
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://ubuntu.com/security/notices/USN-6559-1
- https://www.cve.org/CVERecord?id=CVE-2023-44981
- https://www.debian.org/security/2023/dsa-5544
- https://www.openwall.com/lists/oss-security/2023/10/11/4