Path to dependency file: /third_party/rust_crates/tiny_mirrors/rustls/Cargo.toml
Path to vulnerable library: /third_party/rust_crates/tiny_mirrors/rustls/Cargo.toml,/third_party/rust_crates/vendor/trust-dns-resolver/Cargo.toml,/third_party/rust_crates/vendor/json5format/Cargo.toml,/third_party/rust_crates/tiny_mirrors/security-framework/Cargo.toml
Path to dependency file: /third_party/rust_crates/vendor/pin-project/Cargo.toml
Path to vulnerable library: /third_party/rust_crates/vendor/pin-project/Cargo.toml,/third_party/rust_crates/vendor/async-io/Cargo.toml,/third_party/rust_crates/vendor/cc/Cargo.toml,/third_party/rust_crates/vendor/gpt/Cargo.toml,/third_party/rust_crates/vendor/handlebars/Cargo.toml
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.
WS-2023-0045 - Critical Severity Vulnerability
Vulnerable Libraries - remove_dir_all-0.5.2.crate, remove_dir_all-0.5.3.crate, remove_dir_all-0.5.1.crate
remove_dir_all-0.5.2.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.2/download
Path to dependency file: /third_party/rust_crates/tiny_mirrors/rustls/Cargo.toml
Path to vulnerable library: /third_party/rust_crates/tiny_mirrors/rustls/Cargo.toml,/third_party/rust_crates/vendor/trust-dns-resolver/Cargo.toml,/third_party/rust_crates/vendor/json5format/Cargo.toml,/third_party/rust_crates/tiny_mirrors/security-framework/Cargo.toml
Dependency Hierarchy: - proptest-0.9.6.crate (Root Library) - rusty-fork-0.2.2.crate - tempfile-3.1.0.crate - :x: **remove_dir_all-0.5.2.crate** (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: /third_party/rust_crates/vendor/pin-project/Cargo.toml
Path to vulnerable library: /third_party/rust_crates/vendor/pin-project/Cargo.toml,/third_party/rust_crates/vendor/async-io/Cargo.toml,/third_party/rust_crates/vendor/cc/Cargo.toml,/third_party/rust_crates/vendor/gpt/Cargo.toml,/third_party/rust_crates/vendor/handlebars/Cargo.toml
Dependency Hierarchy: - uds_windows-1.0.1.crate (Root Library) - tempdir-0.3.7.crate - :x: **remove_dir_all-0.5.3.crate** (Vulnerable Library)
remove_dir_all-0.5.1.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.1/download
Path to dependency file: /third_party/rust_crates/Cargo.toml
Path to vulnerable library: /third_party/rust_crates/Cargo.toml
Dependency Hierarchy: - tempfile-3.1.0.crate (Root Library) - :x: **remove_dir_all-0.5.1.crate** (Vulnerable Library)
Found in HEAD commit: 4ec0c406a28f193fe6e7376ee7696cca0532d4ba
Found in base branch: master
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: 2024-11-03
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
Step up your Open Source Security Game with Mend here