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.
Security readout for executives and security teams
Plain-English summary
ZooKeeper may trust the wrong host when TLS hostname checks fall back to reverse DNS. An attacker with influence over PTR records and a certificate trusted by ZooKeeper could impersonate a server or client. The attack is harder than typical network spoofing but can expose confidential data and integrity.
Executive priority
Treat as a high-priority infrastructure patch for ZooKeeper environments carrying sensitive coordination data. Prioritize internet-adjacent, multi-tenant, or less-controlled DNS environments first. No evidence in the bundle supports emergency active-exploitation response.
Technical view
Apache ZooKeeper ZKTrustManager falls back to reverse DNS when IP SAN validation fails. If a trusted certificate matches the PTR-derived hostname, hostname verification can be bypassed. Apache recommends upgrading to 3.8.6 or 3.9.5, which add an option to disable reverse DNS lookup in client and quorum protocols.
Likely exposure
Exposure is most likely in ZooKeeper deployments using TLS hostname verification with IP-based connections, especially where reverse DNS can be controlled or spoofed. The bundle identifies Apache ZooKeeper 3.8.0 and 3.9.0, with fixes in 3.8.6 and 3.9.5.
Exploitation context
The provided sources do not show active exploitation, and KEV is false. Exploitation requires network positioning or DNS influence plus a certificate trusted by ZKTrustManager, making the attack high-complexity but serious for sensitive clusters.
Researcher notes
Focus validation on ZKTrustManager behavior when IP SAN validation fails and PTR resolution returns a trusted certificate name. Avoid assuming affected downstream products beyond cited Red Hat advisories. Evidence is sufficient for impact and fixed versions, but deployment-specific reachability depends on TLS, DNS, and trust-store design.
Mitigation direction
Upgrade Apache ZooKeeper to 3.8.6 or 3.9.5.
Disable reverse DNS lookup using the new client and quorum protocol option.
Inventory direct and transitive org.apache.zookeeper:zookeeper dependencies.
Review ZKTrustManager trust stores and remove unexpected trusted certificate authorities.
Check Red Hat errata for downstream package fixes if applicable.
Validation and detection
Confirm ZooKeeper server and client library versions across all clusters.
Check whether TLS hostname verification is enabled for client and quorum traffic.
Verify reverse DNS fallback is disabled after upgrading.
Review DNS and PTR record control around ZooKeeper network paths.
Validate downstream vendor package status against Red Hat advisories where used.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-295: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-295 · source CWE mapping
Improper Certificate Validation
Improper Certificate Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Reliance on Reverse DNS Resolution for a Security-Critical Action
Reliance on Reverse DNS Resolution for a Security-Critical Action represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.