# What is CVE-2024-51504?

> CVE-2024-51504 is a critical-severity flaw (CVSS 9.1) in Zookeeper from Apache, published on 7 November 2024. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 1.5%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.edgeprotect.io/what-is/cve-2024-51504

## At a glance

- **Verdict:** Fix this soon. Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.
- **EdgeProtect risk score:** 54 out of 100 (Medium); action: Plan remediation. Kept up to date as the evidence changes.
- **Severity:** Critical (CVSS 9.1 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 1.5% (latest exploit-likelihood forecast)
- **Published:** 7 November 2024
- **Record last updated:** 17 June 2026
- **Main product:** Zookeeper from Apache
- **Affected products:** 1

## What is CVE-2024-51504? In plain terms

It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can read data and take it offline.

### The official description

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.

### What kind of flaw is it?

- CWE-290: Authentication Bypass by Spoofing

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: No login needed
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can read data and take it offline

Severity vector: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## Is CVE-2024-51504 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 1.5%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 0.9%, 0.9%, 0.9%, 0.9%, 0.9%, 1.5%, 1.5%.

### Timeline

- 7 November 2024: Published
- 17 June 2026: Record last updated

### How EdgeProtect ranks it

CVE-2024-51504 scores **54 out of 100 (Medium)**, with the action "Plan remediation".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: key context
- Real threat activity around it: key context

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2024-51504?

The published record lists 1 product. Versions are as published: "3.9.0 to before 3.9.3" means from 3.9.0 up to, but not including, 3.9.3.

- [Zookeeper](https://www.edgeprotect.io/product/apache/zookeeper) by [Apache](https://www.edgeprotect.io/vendors/apache) (Application): 3.9.0 to before 3.9.3

## How do I fix CVE-2024-51504?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? EdgeProtect can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisory first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [lists.apache.org](https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh) (Mailing list, Vendor advisory)
- [openwall.com](http://www.openwall.com/lists/oss-security/2024/11/06/5) (Mailing list, Third-party advisory)

## Questions

### What is CVE-2024-51504?

CVE-2024-51504 is a critical-severity flaw in Zookeeper from Apache, published on 7 November 2024. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can read data and take it offline.

### How serious is CVE-2024-51504?

It scores 9.1 out of 10 on the CVSS severity scale, which is critical. Our risk score for CVE-2024-51504 is 54 out of 100, which is Medium. Its action is "Plan remediation". Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.

### Is CVE-2024-51504 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 1.5%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2024-51504 affect?

For Zookeeper from Apache: 3.9.0 to before 3.9.3.

### How do I fix CVE-2024-51504?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2024-51504 affect you?

EdgeProtect keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.edgeprotect.io/register
Book a demo: https://www.edgeprotect.io/demo

