CVE-2024-51504 json
Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
published 2024-11-07 2 y ago modified 2026-09-10 1 mo ago also BIT-zookeeper-2024-51504 , EUVD-2024-45368 , GHSA-g93m-8x6h-g5gv
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.zookeeper:zookeeper 3.9.3
- bitnami zookeeper 3.9.3
- Apache Software Foundation Apache ZooKeeper 3.9.3
- apache zookeeper 3.9.3
- zookeeper Debian 14, Debian 13 3.9.3-1
debian advisories DEBIAN-CVE-2024-51504
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-51504 updated cvss 7.3
org.apache.zookeeper: Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
-
Red Hat A-MQ Clients 2 zookeeper Red Hat Logging Subsystem for Red Hat OpenShift zookeeper Red Hat AMQ Broker 7 zookeeper Red Hat build of Apache Camel for Spring Boot 3 zookeeper Red Hat build of Apache Camel for Spring Boot 4 zookeeper Red Hat build of Debezium 2 zookeepernot affected: vulnerable code not present
+8 more productsfewer
Red Hat Data Grid 8 zookeeper Red Hat Fuse 7 zookeeper Red Hat Integration Camel K 1 zookeeper Red Hat JBoss Data Grid 7 zookeeper Red Hat JBoss Enterprise Application Platform 7 zookeeper Red Hat JBoss Enterprise Application Platform 8 zookeeper Red Hat JBoss Enterprise Application Platform Expansion Pack zookeeper Red Hat streams for Apache Kafka zookeeper
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.zookeeper:zookeeper | >=3.9.0, <3.9.3 |
3.9.3 |
| bitnami | zookeeper | >=3.9.0, <3.9.3 |
3.9.3 |
Affected products
- Apache Software Foundation Apache ZooKeeper
- apache zookeeper
Classification
- Weakness
-
- CWE-290 Authentication Bypass by Spoofing
References
-
github.com
/apache/zookeeper/commit/2c2b74c1c11b6531aabb1bf06782e859048d5983
web
-
lists.apache.org
/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2024/11/06/5
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-51504
advisory, web
-
github.com
/apache/zookeeper
package
Sources
- CVE List CVE-2024-51504
- GitHub Advisory GHSA-g93m-8x6h-g5gv
- NVD CVE-2024-51504
- OSV BIT-zookeeper-2024-51504
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.