CVE-2024-51504 | Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

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.

Published: 2024-11-07 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-51504 is rated Moderate Risk (56.7/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.92%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-51504

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.92% +0.87%
2 2026-02-20 0.04% 0.06% +0.01%
3 2025-12-16 0.04%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-51504

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.2 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-51504

GitHub Security Advisory for CVE-2024-51504

GHSA-g93m-8x6h-g5gv · Severity: high · Ecosystem: maven — Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

OS Trackers for CVE-2024-51504

vendor priority summary link
debian unimportant CVE-2024-51504 unimportant priority: Debian including 1 source packages (zookeeper), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-51504
redhat high https://access.redhat.com/security/cve/CVE-2024-51504
ubuntu medium CVE-2024-51504 medium priority: Ubuntu including 1 source packages (zookeeper), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 7, ignored 1, needed 1, released 1. https://ubuntu.com/security/CVE-2024-51504

Affected software / configurations for CVE-2024-51504

Vendor Product Version Raw CPE
apache zookeeper >= 3.9.0, < 3.9.3 cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*

References for CVE-2024-51504

cvelogic Threat Intelligence