Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.zookeeper/zookeeper
  4. ›
  5. CVE-2023-44981

CVE-2023-44981: Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper

October 11, 2023 (updated February 13, 2025)

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

  • github.com/advisories/GHSA-7286-pgfv-vxvh
  • github.com/apache/zookeeper
  • lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b
  • lists.debian.org/debian-lts-announce/2023/10/msg00029.html
  • nvd.nist.gov/vuln/detail/CVE-2023-44981
  • security.netapp.com/advisory/ntap-20240621-0007
  • www.debian.org/security/2023/dsa-5544

Code Behaviors & Features

Detect and mitigate CVE-2023-44981 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.2, all versions starting from 3.8.0 before 3.8.3, all versions starting from 3.9.0 before 3.9.1

Fixed versions

  • 3.7.2
  • 3.8.3
  • 3.9.1

Solution

Upgrade to versions 3.7.2, 3.8.3, 3.9.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

maven/org.apache.zookeeper/zookeeper/CVE-2023-44981.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.