CVEfocus › CVE database › CVE-2023-44981

CVE-2023-44981Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication

CVSS 9.1 CriticalEPSS 2.0% (higher than 82% of CVEs)Published 2023-10-11Updated 2025-04-23Assigner: apache

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.

CWE-639

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04zookeeperFixed3.4.13-6ubuntu4.1UBUNTU-CVE-2023-44981
Ubuntu 20.04zookeeperFixed3.4.13-5ubuntu0.1UBUNTU-CVE-2023-44981
Ubuntu 18.04zookeeperFix pending3.4.13-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-44981
Ubuntu 16.04zookeeperFix pending
Debian 14zookeeperFixed3.9.1-1DEBIAN-CVE-2023-44981
Debian 13zookeeperFixed3.9.1-1DEBIAN-CVE-2023-44981
Debian 12zookeeperFixed3.8.0-11+deb12u1DEBIAN-CVE-2023-44981
Maven libraryorg.apache.zookeeper:zookeeperFixed3.9.1GHSA-7286-pgfv-vxvh

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.