Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-44981 (Critical) detected in multiple libraries - autoclosed #3491

Closed
mend-for-github-com bot opened this issue Oct 12, 2023 · 4 comments
Closed
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Milestone

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Oct 12, 2023

CVE-2023-44981 - Critical Severity Vulnerability

Vulnerable Libraries - zookeeper-3.7.1.jar, zookeeper-3.6.4.jar, zookeeper-3.6.3.jar

zookeeper-3.7.1.jar

ZooKeeper server

Library home page: http://zookeeper.apache.org

Path to dependency file: /data-prepper-plugins/kafka-plugins/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.7.1/b598708e153ff74dd2ebb800419df96df8a01c2d/zookeeper-3.7.1.jar

Dependency Hierarchy:

  • kafka_2.13-7.4.0-ccs.jar (Root Library)
    • zookeeper-3.7.1.jar (Vulnerable Library)
zookeeper-3.6.4.jar

ZooKeeper server

Library home page: http://zookeeper.apache.org

Path to dependency file: /data-prepper-plugins/kafka-plugins/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.4/7c035d7130a0dcb55e9566ba304ebda4763b002d/zookeeper-3.6.4.jar

Dependency Hierarchy:

  • data-prepper-plugins-2.6.0-SNAPSHOT (Root Library)
    • kafka-connect-plugins-2.6.0-SNAPSHOT
      • kafka-schema-registry-7.5.0.jar
        • zookeeper-3.6.4.jar (Vulnerable Library)
zookeeper-3.6.3.jar

ZooKeeper server

Library home page: http://zookeeper.apache.org

Path to dependency file: /data-prepper-plugins/parquet-codecs/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.3/a6e74f826db85ff8c51c15ef0fa2ea0b462aef25/zookeeper-3.6.3.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.3/a6e74f826db85ff8c51c15ef0fa2ea0b462aef25/zookeeper-3.6.3.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.3/a6e74f826db85ff8c51c15ef0fa2ea0b462aef25/zookeeper-3.6.3.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.zookeeper/zookeeper/3.6.3/a6e74f826db85ff8c51c15ef0fa2ea0b462aef25/zookeeper-3.6.3.jar

Dependency Hierarchy:

  • hadoop-common-3.3.6.jar (Root Library)
    • zookeeper-3.6.3.jar (Vulnerable Library)

Found in HEAD commit: 90bdaa7e7833bdd504c817e49d4434b4d8880f56

Found in base branch: main

Vulnerability Details

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like '[email protected]', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default.

Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue.

Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue.

See the documentation for more details on correct cluster administration.

Publish Date: 2023-10-11

URL: CVE-2023-44981

CVSS 3 Score Details (9.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b

Release Date: 2023-10-11

Fix Resolution: org.apache.zookeeper:zookeeper:3.7.2,3.8.3,3.9.1

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Oct 12, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-44981 (Medium) detected in multiple libraries CVE-2023-44981 (High) detected in multiple libraries Oct 13, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-44981 (High) detected in multiple libraries CVE-2023-44981 (Critical) detected in multiple libraries Oct 19, 2023
@dlvenable dlvenable added this to the v2.6 milestone Oct 24, 2023
@dlvenable
Copy link
Member

This may have been introduced by #3313.

@wanghd89
Copy link
Contributor

It should not be related to #3313

The path is reported as:
Path to dependency file: /data-prepper-plugins/kafka-plugins/build.gradle
kafka_2.13-7.4.0-ccs.jar (Root Library)
❌ zookeeper-3.7.1.jar (Vulnerable Library)

Path to dependency file: /data-prepper-plugins/kafka-plugins/build.gradle
hadoop-common-3.3.6.jar (Root Library)
❌ zookeeper-3.6.3.jar (Vulnerable Library)

Path to dependency file: /data-prepper-plugins/parquet-codecs/build.gradle
hadoop-common-3.3.6.jar (Root Library)
❌ zookeeper-3.6.3.jar (Vulnerable Library)

dlvenable added a commit to dlvenable/data-prepper that referenced this issue Nov 21, 2023
… This includes a transitive dependency update to parsson to resolve CVE-2023-4043.

Update required version of org.json library to resolve CVE-2023-5072. Require a Zookeeper version which resolves CVE-2023-44981. Require a transitive Scala library to resolve CVE-2023-46122.

Resolves opensearch-project#3588, opensearch-project#3522, opensearch-project#3491, opensearch-project#3547

Signed-off-by: David Venable <[email protected]>
@dlvenable dlvenable self-assigned this Nov 21, 2023
@dlvenable
Copy link
Member

Thanks @wanghd89 for checking that.

dlvenable added a commit that referenced this issue Nov 27, 2023
… This includes a transitive dependency update to parsson to resolve CVE-2023-4043. (#3689)

Update required version of org.json library to resolve CVE-2023-5072. Require a Zookeeper version which resolves CVE-2023-44981. Require a transitive Scala library to resolve CVE-2023-46122.

Resolves #3588, #3522, #3491, #3547

Signed-off-by: David Venable <[email protected]>
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-44981 (Critical) detected in multiple libraries CVE-2023-44981 (Critical) detected in multiple libraries - autoclosed Nov 27, 2023
Copy link
Contributor Author

✔️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
Archived in project
Development

No branches or pull requests

2 participants