Description
Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validation fails, allowing attackers who control or spoof PTR records to impersonate ZooKeeper servers or clients with a valid certificate for the PTR name. It's important to note that attacker must present a certificate which is trusted by ZKTrustManager which makes the attack vector harder to exploit. Users are recommended to upgrade to version 3.8.6 or 3.9.5, which fixes this issue by introducing a new configuration option to disable reverse DNS lookup in client and quorum protocols.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Apache Software Foundation Apache ZooKeeper
Default version status: unaffected
3.9.0 to ≤ 3.9.4affected3.8.0 to ≤ 3.8.5affected
References
- https://lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2 ↗
- http://www.openwall.com/lists/oss-security/2026/03/07/4 ↗
- https://access.redhat.com/security/cve/CVE-2026-24281 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2445449 ↗
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24281.json ↗
- https://access.redhat.com/errata/RHSA-2026:14276 ↗
- https://access.redhat.com/errata/RHSA-2026:14272 ↗
- https://access.redhat.com/errata/RHSA-2026:8509 ↗
- https://access.redhat.com/errata/RHSA-2026:10184 ↗
- https://access.redhat.com/errata/RHSA-2026:34608 ↗