GHSA-7286-pgfv-vxvh

Suggest an improvement
Source
https://github.com/advisories/GHSA-7286-pgfv-vxvh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-7286-pgfv-vxvh/GHSA-7286-pgfv-vxvh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7286-pgfv-vxvh
Aliases
Related
Published
2023-10-11T12:30:27Z
Modified
2024-06-25T02:32:48.154078Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Authorization Bypass Through User-Controlled Key vulnerability in Apache 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.

References

Affected packages

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.2

Affected versions

3.*

3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.4.10
3.4.11
3.4.12
3.4.13
3.4.14
3.5.0-alpha
3.5.1-alpha
3.5.2-alpha
3.5.3-beta
3.5.4-beta
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.5.10
3.6.0
3.6.1
3.6.2
3.6.3
3.6.4
3.7.0
3.7.1

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
3.8.3

Affected versions

3.*

3.8.0
3.8.1
3.8.2

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
3.9.1

Affected versions

3.*

3.9.0