p PatchFirst

CVE-2023-44981

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

CVSS 9.1 · Critical · EPSS 2.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="zookeeper"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 '[email protected]', 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.

Published
Updated

Fixes in distributions

  • USN-6559-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
  • DSA-5544-1 · Debian 11, Debian 12 ·
  • DLA-3624-1 · Debian 10 ·

Stack: system

Affected products and versions

  • apache zookeeper

    Versions
    • ≥ 3.9.0, < 3.9.1: Affected (maven)
    • ≥ 3.8.0, ≤ 3.8.2: Affected (maven)
    • ≥ 3.7.0, ≤ 3.7.1: Affected (maven)
    • ≥ 0, < 3.7.0: Affected (maven)

    Update to 3.9.1

  • zookeeper Debian 12

    Versions
    • 3.8.0-11
    Affected ranges
    • ECOSYSTEM: < 3.8.0-11+deb12u1

    Update to 3.8.0-11+deb12u1

  • zookeeper Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.9.1-1

    Update to 3.9.1-1

  • zookeeper Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.9.1-1

    Update to 3.9.1-1

  • zookeeper Ubuntu Pro 18.04 LTS

    Versions
    • 3.4.10-2
    • 3.4.10-3
    • 3.4.13-3
    Affected ranges
    • ECOSYSTEM: < 3.4.13-3ubuntu0.1~esm1

    Update to 3.4.13-3ubuntu0.1~esm1

  • zookeeper Ubuntu 20.04 LTS

    Versions
    • 3.4.13-1
    • 3.4.13-3
    • 3.4.13-3build1
    • 3.4.13-4
    • 3.4.13-5
    • 3.4.13-5build1
    Affected ranges
    • ECOSYSTEM: < 3.4.13-5ubuntu0.1

    Update to 3.4.13-5ubuntu0.1

  • zookeeper Ubuntu 22.04 LTS

    Versions
    • 3.4.13-5ubuntu4
    • 3.4.13-6ubuntu2
    • 3.4.13-6ubuntu3
    • 3.4.13-6ubuntu4
    Affected ranges
    • ECOSYSTEM: < 3.4.13-6ubuntu4.1

    Update to 3.4.13-6ubuntu4.1

Original sources

Check your server →