Security mailing lists by PureSourceCode

CVE-2024-51504

CRITICAL 9.1CVSS 3.1

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
7 Nov 2024
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-290
Also known as
BIT-zookeeper-2024-51504GHSA-g93m-8x6h-g5gv
Sources
NVDJSONOSV GHSA-g93m-8x6h-g5gvJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache zookeeper
cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.3 3.9.3
OSV Maven org.apache.zookeeper:zookeeper >= 3.9.0, < 3.9.3 3.9.3

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 7 Nov 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.