5.9Medium

CVE-2026-24281Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager

Apache Software Foundation Apache ZooKeeper; Red Hat Red Hat AMQ Broker 7.12.7; Red Hat Red Hat AMQ Broker 7.13.5; Red Hat Red Hat AMQ Broker 7.14.0 Published: (8 months ago)

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.

Weakness (CWE): CWE-350CWE-295

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* ≥ 3.8.0 < 3.8.6
  • cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* ≥ 3.9.0 < 3.9.5