High

Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

  • Disclosed: 07.11.2024
  • Updated: 11.10.2026 13:20

When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.zookeeper:zookeeper >= 3.9.0, < 3.9.3 3.9.3

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-290
Platform
Java / Kotlin (Maven)
Package
org.apache.zookeeper:zookeeper
Disclosed
07.11.2024
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g93m-8x6h-g5gv - CC BY 4.0

Vulnerability history: org.apache.zookeeper:zookeeper

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
05.2019 03.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Medium 3

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 2
  5. 2023: 1
  6. 2024: 2
  7. 2025: 1
  8. 2026: 2
Severity:
  1. High CVE-2026-24308 >= 3.9.0, < 3.9.5, >= 3.8.0, < 3.8.6 3.9.5, 3.8.6
  2. High · 7.4 CVE-2026-24281 >= 3.8.0, < 3.8.6, >= 3.9.0, < 3.9.5 3.8.6, 3.9.5
  3. Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server this entry
    High CVE-2024-51504 >= 3.9.0, < 3.9.3 3.9.3
  4. Critical · 9.1 CVE-2023-44981 < 3.7.2, >= 3.8.0, < 3.8.3, >= 3.9.0, < 3.9.1 3.7.2, 3.8.3, 3.9.1
  5. High · 7.5 CVE-2017-5637 >= 3.4.0, < 3.4.10, >= 3.5.0, < 3.5.3 3.4.10, 3.5.3
  6. High · 7.5 CVE-2018-8012 < 3.4.10, >= 3.5.0-alpha, < 3.5.4-beta 3.4.10, 3.5.4-beta

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.