NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 3.1 7.4GHSA-7xrh-hqfc-g7qr

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.

Published Mar 7, 2026 · Updated Mar 10, 2026

Affected packages

org.apache.zookeeper:zookeeper

Ecosystem
Maven
Affected
>= 3.8.0, < 3.8.6
Fixed in
3.8.6
Check
mvn dependency:tree -Dincludes=org.apache.zookeeper:zookeeper

org.apache.zookeeper:zookeeper

Ecosystem
Maven
Affected
>= 3.9.0, < 3.9.5
Fixed in
3.9.5
Check
mvn dependency:tree -Dincludes=org.apache.zookeeper:zookeeper

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to kascit.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries