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

tokio-tungstenite-0.19.0.crate: 4 vulnerabilities (highest severity is: 9.1) - autoclosed #74

Closed
mend-bolt-for-github bot opened this issue Jun 7, 2023 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - tokio-tungstenite-0.19.0.crate

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (tokio-tungstenite version) Remediation Available
WS-2023-0045 Critical 9.1 remove_dir_all-0.5.3.crate Transitive N/A*
WS-2023-0082 High 7.5 detected in multiple dependencies Transitive N/A*
WS-2023-0081 High 7.5 detected in multiple dependencies Transitive N/A*
WS-2023-0083 High 7.5 detected in multiple dependencies Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

WS-2023-0045

Vulnerable Library - remove_dir_all-0.5.3.crate

A safe, reliable implementation of remove_dir_all for Windows

Library home page: https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • tempfile-3.3.0.crate
        • remove_dir_all-0.5.3.crate (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The remove_dir_all crate is a Rust library that offers additional features over the Rust standard library fs::remove_dir_all function. It suffers the same class of failure as the code it was layering over: TOCTOU race conditions, with the ability to cause arbitrary paths to be deleted by substituting a symlink for a path after the type of the path was checked.

Publish Date: 2023-02-24

URL: WS-2023-0045

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: None
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-mc8h-8q98-g5hr

Release Date: 2023-02-24

Fix Resolution: remove_dir_all - 0.8.0

Step up your Open Source Security Game with Mend here

WS-2023-0082

Vulnerable Libraries - openssl-sys-0.9.80.crate, openssl-0.10.45.crate

openssl-sys-0.9.80.crate

FFI bindings to OpenSSL

Library home page: https://crates.io/api/v1/crates/openssl-sys/0.9.80/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate
        • openssl-sys-0.9.80.crate (Vulnerable Library)

openssl-0.10.45.crate

OpenSSL bindings

Library home page: https://crates.io/api/v1/crates/openssl/0.10.45/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate (Vulnerable Library)

Found in base branch: main

Vulnerability Details

openssl X509NameBuilder::build returned object is not thread safe

Publish Date: 2023-03-25

URL: WS-2023-0082

CVSS 3 Score Details (7.5)

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: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-3gxf-9r58-2ghg

Release Date: 2023-03-25

Fix Resolution: openssl - 0.10.48

Step up your Open Source Security Game with Mend here

WS-2023-0081

Vulnerable Libraries - openssl-sys-0.9.80.crate, openssl-0.10.45.crate

openssl-sys-0.9.80.crate

FFI bindings to OpenSSL

Library home page: https://crates.io/api/v1/crates/openssl-sys/0.9.80/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate
        • openssl-sys-0.9.80.crate (Vulnerable Library)

openssl-0.10.45.crate

OpenSSL bindings

Library home page: https://crates.io/api/v1/crates/openssl/0.10.45/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate (Vulnerable Library)

Found in base branch: main

Vulnerability Details

openssl X509Extension::new and X509Extension::new_nid null pointer dereference

Publish Date: 2023-03-25

URL: WS-2023-0081

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6hcf-g6gr-hhcr

Release Date: 2023-03-25

Fix Resolution: openssl - 0.10.48

Step up your Open Source Security Game with Mend here

WS-2023-0083

Vulnerable Libraries - openssl-sys-0.9.80.crate, openssl-0.10.45.crate

openssl-sys-0.9.80.crate

FFI bindings to OpenSSL

Library home page: https://crates.io/api/v1/crates/openssl-sys/0.9.80/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate
        • openssl-sys-0.9.80.crate (Vulnerable Library)

openssl-0.10.45.crate

OpenSSL bindings

Library home page: https://crates.io/api/v1/crates/openssl/0.10.45/download

Dependency Hierarchy:

  • tokio-tungstenite-0.19.0.crate (Root Library)
    • native-tls-0.2.11.crate
      • openssl-0.10.45.crate (Vulnerable Library)

Found in base branch: main

Vulnerability Details

openssl SubjectAlternativeName and ExtendedKeyUsage::other allow arbitrary file read

Publish Date: 2023-03-25

URL: WS-2023-0083

CVSS 3 Score Details (7.5)

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: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9qwg-crg9-m2vc

Release Date: 2023-03-25

Fix Resolution: openssl - 0.10.48

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 Jun 7, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title tokio-tungstenite-0.19.0.crate: 4 vulnerabilities (highest severity is: 9.1) tokio-tungstenite-0.19.0.crate: 4 vulnerabilities (highest severity is: 9.1) - autoclosed Jun 12, 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.

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