CVE-2026-24281
Received
Received - Intake
Hostname Verification Bypass in Apache ZooKeeper via PTR Spoofing
Publication date: 2026-03-07
Last updated on: 2026-03-10
Assigner: Apache Software Foundation
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | zookeeper | From 3.8.0 (inc) to 3.8.6 (exc) |
| apache | zookeeper | From 3.9.0 (inc) to 3.9.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-350 | The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname. |
| CWE-295 | The product does not validate, or incorrectly validates, a certificate. |