Loading advisory.
Loading advisory.
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.
Published 2023-02-24 12:00 UTC · Modified 2026-11-09 11:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| remove_dir_all | crates.io | < 0.8.0 >= 0.0.0-0, < 0.8.0 | 0.8.0 | cargo add remove_dir_all@0.8.0 |
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.