GHSA-7xrh-hqfc-g7qr

Suggest an improvement
Source
https://github.com/advisories/GHSA-7xrh-hqfc-g7qr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7xrh-hqfc-g7qr/GHSA-7xrh-hqfc-g7qr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7xrh-hqfc-g7qr
Aliases
Downstream
CGA (80)
MINI (17)
Published
2026-03-07T09:30:15Z
Modified
2026-07-17T21:12:03Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-295",
        "CWE-297"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-10T19:32:52Z",
    "nvd_published_at": "2026-03-07T09:16:07Z",
    "severity": "HIGH"
}
References

Affected packages

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
3.8.6

Affected versions

3.*
3.8.0
3.8.1
3.8.2
3.8.3
3.8.4
3.8.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7xrh-hqfc-g7qr/GHSA-7xrh-hqfc-g7qr.json"

Maven / org.apache.zookeeper:zookeeper

Package

Name
org.apache.zookeeper:zookeeper
View open source insights on deps.dev
Purl
pkg:maven/org.apache.zookeeper/zookeeper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
3.9.5

Affected versions

3.*
3.9.0
3.9.1
3.9.2
3.9.3
3.9.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7xrh-hqfc-g7qr/GHSA-7xrh-hqfc-g7qr.json"