Skip to content
OpenAdvisories
Low GHSA-f2wx-xjfw-xjv6

topgrade Time-of-check Time-of-use (TOCTOU) Race Condition in remove_dir_all

Published Jul 17, 2023 · Assigned by GHSA

Description

### Summary
https://github.com/advisories/GHSA-mc8h-8q98-g5hr
https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead

`tempfile` v0.4.26 ships with affected `remove_dir_all` v0.5.3 and so blocks my deployment of v12 to openSUSE distribution because it imposes a clean `cargo audit`

Updating `tempfile` is warranted

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io topgrade < 12.0.1 12.0.1 GHSA-f2wx-xjfw-xjv6

References