Path to dependency file: /plugins/repository-hdfs/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar
Path to dependency file: /plugins/repository-hdfs/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar
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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
Vulnerable Library - zookeeper-3.9.2.jar
ZooKeeper server
Library home page: https://www.apache.org/
Path to dependency file: /plugins/repository-hdfs/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar
Found in HEAD commit: aa5c39bbbce5bfcb06f4892ff5d6ccaea79126b2
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-51504
### Vulnerable Library - zookeeper-3.9.2.jarZooKeeper server
Library home page: https://www.apache.org/
Path to dependency file: /plugins/repository-hdfs/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.9.2/b6a8d8e3a4cf932cad92e5894c93724c73076333/zookeeper-3.9.2.jar
Dependency Hierarchy: - :x: **zookeeper-3.9.2.jar** (Vulnerable Library)
Found in HEAD commit: aa5c39bbbce5bfcb06f4892ff5d6ccaea79126b2
Found in base branch: main
### Vulnerability DetailsWhen 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.
Publish Date: 2024-11-07
URL: CVE-2024-51504
### CVSS 3 Score Details (5.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://seclists.org/oss-sec/2024/q4/60
Release Date: 2024-11-06
Fix Resolution: 3.9.3
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.