5.9medium
Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager
- Severity
- 5.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.70% (higher than 49% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-7xrh-hqfc-g7qrBIT-ZOOKEEPER-2026-24281
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.zookeeper:zookeeper | from 3.9.0 up to 3.9.4, from 3.8.0 up to 3.8.5 | CVE List |
| zookeeper | Not specified | CVE List |
| rhoai/odh-modelmesh-rhel9 | Not specified Not affected: from 1776756834 before * | CVE List |
| offline-knowledge-portal/rhokp-rhel9 | Not specified | CVE List |
| rhoai/odh-modelmesh-rhel8 | Not specified | CVE List |
| org.apache.zookeeper:zookeeper (Maven) | from 3.8.0 before 3.8.6, from 3.9.0 before 3.9.5 | GitHub Advisory Database |
| apache zookeeper | from 3.8.0 before 3.8.6, from 3.9.0 before 3.9.5 | NVD |
| zookeeper (Bitnami) | from 3.8.0 before 3.8.6, from 3.9.0 before 3.9.5 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| redhat-SADP | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
La verificación de nombre de host en Apache ZooKeeper ZKTrustManager recurre a DNS inverso (PTR) cuando falla la validación IP SAN, permitiendo a los atacantes que controlan o falsifican registros PTR suplantar servidores o clientes de ZooKeeper con un certificado válido para el nombre PTR. Es importante señalar que el atacante debe presentar un certificado que sea de confianza para ZKTrustManager, lo que hace que el vector de ataque sea más difícil de explotar. Se recomienda a los usuarios actualizar a la versión 3.8.6 o 3.9.5, que corrige este problema al introducir una nueva opción de configuración para deshabilitar la búsqueda de DNS inverso en los protocolos de cliente y quórum.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-24281 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7xrh-hqfc-g7qr changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-24281 changed 2026-07-15 | Public domain |
| Bitnami Vulnerability Database | BIT-ZOOKEEPER-2026-24281 changed 2026-09-08 | Apache-2.0 |