sdk-typescript icon indicating copy to clipboard operation
sdk-typescript copied to clipboard

temporal-client-0.1.0: 1 vulnerabilities (highest severity is: 9.1)

Open mend-for-github-com[bot] opened this issue 2 years ago • 1 comments

Vulnerable Library - temporal-client-0.1.0

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (temporal-client version) Remediation Available
WS-2023-0045 High 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 section "Details" 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:

  • temporal-client-0.1.0 (Root Library)
    • temporal-sdk-core-protos-0.1.0
      • prost-wkt-types-0.4.0.crate
        • prost-build-0.11.6.crate
          • tempfile-3.3.0.crate
            • :x: 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: https://github.com/advisories/GHSA-mc8h-8q98-g5hr

Release Date: 2023-02-24

Fix Resolution: remove_dir_all - 0.8.0

Hi Temporal team,

This issue is being flagged in our CI pipeline as a blocker. Would love to get a patch for this. Thanks!

krn0x2 avatar Mar 09 '23 11:03 krn0x2