An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1tYzhoLThxOTgtZzVocs4AAxzW

Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU) Race Condition in remove_dir_all

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.

Thanks to the Rust security team for identifying the problem and alerting us to it.

Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: over 1 year ago
Updated: over 1 year ago

Identifiers: GHSA-mc8h-8q98-g5hr
References: Repository:
Blast Radius: 0.0

Affected Packages

Dependent packages: 82
Dependent repositories: 41,020
Downloads: 82,461,716 total
Affected Version Ranges: < 0.8.0
Fixed in: 0.8.0
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.6.1, 0.7.0
All unaffected versions: 0.8.0, 0.8.1, 0.8.2