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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-11-07 · Modified: 2024-11-07
- Aliases: UBUNTU-CVE-2024-51504, DEBIAN-CVE-2024-51504, CGA-472j-2rgp-h37p, CGA-485r-wpjq-pjh2, CGA-6866-hfqc-45vf, CGA-7rhh-8gfp-h44q, CGA-88pr-m25m-gmv4, CGA-98wf-wf92-qgrx, CGA-g86r-5q24-3h96, CGA-hfff-4qqg-ch8p, CGA-mpgj-vhcj-j73w, CGA-p6xh-8fw6-26m8, CGA-q2gg-jrm8-cph8, CGA-q7xx-qh52-w4cj, CGA-qccx-wpcp-qc9x, CGA-vhxp-j27m-rw8f, GHSA-g93m-8x6h-g5gv, BIT-zookeeper-2024-51504
- Record: https://cvemate.com/vulnerability/CVE-2024-51504 · JSON: https://cvemate.com/vulnerability/CVE-2024-51504/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.918%, percentile 61.454%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache zookeeper: ≥ 3.9.0, \< 3.9.3
- apache zookeeper: ≥ 3.9.0, \< 3.9.3
- chainguard solr (Chainguard): \< 9.8.1-r1
- chainguard solr-oci-compat (Chainguard): \< 9.8.1-r1
- chainguard thingsboard (Chainguard): \< 4.0.1-r51
- chainguard thingsboard-tb-js-executor (Chainguard): \< 4.0.1-r51
- chainguard thingsboard-tb-mqtt-transport (Chainguard): \< 4.0.1-r51
- chainguard thingsboard-tb-node (Chainguard): \< 4.0.1-r51
- chainguard thingsboard-tb-web-ui (Chainguard): \< 4.0.1-r51
- wolfi solr (Wolfi): \< 9.8.1-r1
- wolfi solr-oci-compat (Wolfi): \< 9.8.1-r1
- wolfi thingsboard (Wolfi): \< 4.0.1-r51
- wolfi thingsboard-tb-js-executor (Wolfi): \< 4.0.1-r51
- wolfi thingsboard-tb-mqtt-transport (Wolfi): \< 4.0.1-r51
- wolfi thingsboard-tb-node (Wolfi): \< 4.0.1-r51
- wolfi thingsboard-tb-web-ui (Wolfi): \< 4.0.1-r51
- debian zookeeper (Debian): \< 3.9.3-1
- ubuntu zookeeper (Ubuntu): All versions (No fix recorded)
- org.apache.zookeeper zookeeper (Maven): ≥ 3.9.0, \< 3.9.3

## References

- <https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh>
- <http://www.openwall.com/lists/oss-security/2024/11/06/5>
- <https://ubuntu.com/security/CVE-2024-51504>
- <https://www.cve.org/CVERecord?id=CVE-2024-51504>
- <https://security-tracker.debian.org/tracker/CVE-2024-51504>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51504.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-51504>
- <https://github.com/apache/zookeeper/commit/2c2b74c1c11b6531aabb1bf06782e859048d5983>
- <https://github.com/apache/zookeeper>

---

Data as of 2026-12-05T05:32:12.307Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
