CVE-2023-44981: Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper.
Critical CVSS 9.1
- CVE id
- CVE-2023-44981
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache ZooKeeper Runtimes and servers |
< 3.7.2 >= 3.8.0, < 3.8.3 |
3.7.2, 3.8.3 |
How to fix it
Upgrade Apache ZooKeeper to the fixed release of the line you run: 3.7.2, 3.8.3.
- Upgrade ZooKeeper (the zookeeper image tag or packages) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2023-44981 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-44981
- Web: https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b
- Web: https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html
- Web: https://security.netapp.com/advisory/ntap-20240621-0007/
- Web: https://www.debian.org/security/2023/dsa-5544
- Web: https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b
- Web: https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html
- Web: https://security.netapp.com/advisory/ntap-20240621-0007/
- Web: https://www.debian.org/security/2023/dsa-5544
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.