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

WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate, libz-sys-1.1.3.crate #2

Open
mend-bolt-for-github bot opened this issue Nov 5, 2021 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 5, 2021

WS-2020-0368 - Medium Severity Vulnerability

Vulnerable Libraries - libgit2-sys-0.12.23+1.2.0.crate, libz-sys-1.1.3.crate

libgit2-sys-0.12.23+1.2.0.crate

Native bindings to the libgit2 library

Library home page: https://crates.io/api/v1/crates/libgit2-sys/0.12.23+1.2.0/download

Path to dependency file: /Cargo.toml

Path to vulnerable library: /Cargo.toml

Dependency Hierarchy:

  • meilisearch-http-0.24.0 (Root Library)
    • vergen-5.1.15.crate
      • git2-0.13.22.crate
        • libgit2-sys-0.12.23+1.2.0.crate (Vulnerable Library)
libz-sys-1.1.3.crate

Low-level bindings to the system libz library (also known as zlib).

Library home page: https://crates.io/api/v1/crates/libz-sys/1.1.3/download

Path to dependency file: /Cargo.toml

Path to vulnerable library: /Cargo.toml

Dependency Hierarchy:

  • meilisearch-http-0.24.0 (Root Library)
    • vergen-5.1.15.crate
      • git2-0.13.22.crate
        • libgit2-sys-0.12.23+1.2.0.crate
          • libz-sys-1.1.3.crate (Vulnerable Library)

Found in HEAD commit: 8442595dc68076584ca77572fc42224085fe9ae5

Found in base branch: main

Vulnerability Details

Zlib in versions v0.8 to v1.2.11 is vulnerable to use-of-uninitialized-value in inflate.
There are a couple of places in inflate() where UPDATE is called with state->check as its first parameter, without a guarantee that this value has been initialized (state comes from a ZALLOC in inflateInit). This causes use of uninitialized check value.

Publish Date: 2020-02-22

URL: WS-2020-0368

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • 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.


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Nov 5, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2020-0368 (Medium) detected in libz-sys-1.1.3.crate, libgit2-sys-0.12.23+1.2.0.crate WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate Jan 6, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate - autoclosed Jan 24, 2023
@mend-bolt-for-github
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.

@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate - autoclosed WS-2020-0368 (Medium) detected in libgit2-sys-0.12.23+1.2.0.crate, libz-sys-1.1.3.crate Nov 1, 2024
@mend-bolt-for-github mend-bolt-for-github bot reopened this Nov 1, 2024
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in 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
None yet
Development

No branches or pull requests

0 participants