Lucene search

K
cvelistApacheCVELIST:CVE-2023-44981
HistoryOct 11, 2023 - 11:55 a.m.

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

2023-10-1111:55:47
CWE-639
apache
www.cve.org
9
apache; zookeeper; authorization bypass; sasl; quorum peer authentication; vulnerability; upgrade; firewall; cluster administration; documentation

AI Score

9.4

Confidence

High

EPSS

0.004

Percentile

72.6%

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.

CNA Affected

[
  {
    "collectionURL": "https://repo.maven.apache.org/maven2",
    "defaultStatus": "unaffected",
    "packageName": "org.apache.zookeeper:zookeeper",
    "product": "Apache ZooKeeper",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThan": "3.9.1",
        "status": "affected",
        "version": "3.9.0",
        "versionType": "maven"
      },
      {
        "lessThanOrEqual": "3.8.2",
        "status": "affected",
        "version": "3.8.0",
        "versionType": "maven"
      },
      {
        "lessThanOrEqual": "3.7.1",
        "status": "affected",
        "version": "3.7.0",
        "versionType": "maven"
      },
      {
        "lessThan": "3.7.0",
        "status": "affected",
        "version": "0",
        "versionType": "maven"
      }
    ]
  }
]