# GHSA-f2wx-xjfw-xjv6: topgrade Time-of-check Time-of-use (TOCTOU) Race Condition in remove_dir_all

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-17T18:21:58.000Z
- Modified: 2023-07-17T18:21:58.000Z
- Weaknesses: CWE-367

## 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

(As written by GitHub Advisory Database.)

## Affected

- topgrade (crates.io): before 12.0.1

## References

- <https://github.com/topgrade-rs/topgrade/security/advisories/GHSA-f2wx-xjfw-xjv6> (web)
- <https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead> (web)
- <https://github.com/advisories/GHSA-mc8h-8q98-g5hr> (advisory)
- <https://github.com/topgrade-rs/topgrade> (package)
- <https://github.com/topgrade-rs/topgrade/releases/tag/v12.0.0> (web)

## Sources

- GitHub Advisory Database: [GHSA-f2wx-xjfw-xjv6](https://github.com/advisories/GHSA-f2wx-xjfw-xjv6), CC-BY-4.0, modified 2023-07-17

---

Page: https://cve.day/GHSA-f2wx-xjfw-xjv6 · Whole record: https://cve.day/GHSA-f2wx-xjfw-xjv6.json · Rebuilt by cve.day 2026-11-25T22:56:42.469Z
