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

tonic-build-0.10.2.crate: 1 vulnerabilities (highest severity is: 9.1) #95

Closed
mend-for-github-com bot opened this issue Nov 7, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

Vulnerable Library - tonic-build-0.10.2.crate

Path to dependency file: /src/shippingservice/Cargo.toml

Path to vulnerable library: /src/shippingservice/Cargo.toml

Found in HEAD commit: de73c8b6e42eb87e8f3abc02dbfb4a71a6d2f028

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (tonic-build version) Remediation Possible**
WS-2023-0045 Critical 9.1 remove_dir_all-0.5.3.crate 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.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

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

Path to dependency file: /src/shippingservice/Cargo.toml

Path to vulnerable library: /src/shippingservice/Cargo.toml

Dependency Hierarchy:

  • tonic-build-0.10.2.crate (Root Library)
    • prost-build-0.12.1.crate
      • tempfile-3.3.0.crate
        • remove_dir_all-0.5.3.crate (Vulnerable Library)

Found in HEAD commit: de73c8b6e42eb87e8f3abc02dbfb4a71a6d2f028

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

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 7, 2023
@Swiddis Swiddis closed this as completed Mar 28, 2024
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 Mend
Projects
None yet
Development

No branches or pull requests

1 participant