VDB
Sign up
CRITICAL9.1

GHSA-7286-pgfv-vxvh

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper

Quick fix

GHSA-7286-pgfv-vxvh — org.apache.zookeeper:zookeeper: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.7.2</version> for org.apache.zookeeper:zookeeper

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.zookeeper:zookeeper
Introduced in: 0Fixed in: 3.7.2
Fix# pom.xml: bump <version>3.7.2</version> for org.apache.zookeeper:zookeeper
Maven/org.apache.zookeeper:zookeeper
Introduced in: 3.8.0Fixed in: 3.8.3
Fix# pom.xml: bump <version>3.8.3</version> for org.apache.zookeeper:zookeeper
Maven/org.apache.zookeeper:zookeeper
Introduced in: 3.9.0Fixed in: 3.9.1
Fix# pom.xml: bump <version>3.9.1</version> for org.apache.zookeeper:zookeeper

References