Name | CVE-2023-44981 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3624-1, DSA-5544-1 |
Debian Bugs | 1054224 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
zookeeper (PTS) | jessie, jessie (lts) | 3.4.9-3+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 3.4.9-3+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 3.4.13-2+deb10u1 | fixed | |
bullseye (security), bullseye | 3.4.13-6+deb11u1 | fixed | |
bookworm (security), bookworm | 3.8.0-11+deb12u1 | fixed | |
sid, trixie | 3.9.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
zookeeper | source | jessie | (not affected) | |||
zookeeper | source | stretch | (not affected) | |||
zookeeper | source | buster | 3.4.13-2+deb10u1 | DLA-3624-1 | ||
zookeeper | source | bullseye | 3.4.13-6+deb11u1 | DSA-5544-1 | ||
zookeeper | source | bookworm | 3.8.0-11+deb12u1 | DSA-5544-1 | ||
zookeeper | source | (unstable) | 3.9.1-1 | 1054224 |
https://www.openwall.com/lists/oss-security/2023/10/11/4
https://github.com/apache/zookeeper/commit/e2070bed85d8b0c98a5a0045bf92421f473c412e (master)
https://github.com/apache/zookeeper/commit/96b3172ca249a8580e9a315d589d319286cee4ee (release-3.8.3)
Introduced by: https://github.com/apache/zookeeper/commit/8a06bd1ccef382461c7b0a63f2012f4aeac90753 (release-3.4.10-rc0)
[stretch] - zookeeper <not-affected> (Vulnerable code introduced later)
[jessie] - zookeeper <not-affected> (Vulnerable code introduced later)