GHSA-f2wx-xjfw-xjv6 json
topgrade Time-of-check Time-of-use (TOCTOU) Race Condition in remove_dir_all
published 3y ago modified 3y ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### 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
Patch / fix
- crates.io topgrade 12.0.1
Is GHSA-f2wx-xjfw-xjv6 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | topgrade | <12.0.1 |
12.0.1 |
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
-
github.com
/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead
web
-
github.com
/topgrade-rs/topgrade/security/advisories/GHSA-f2wx-xjfw-xjv6
web
-
github.com
/advisories/GHSA-mc8h-8q98-g5hr
advisory
-
github.com
/topgrade-rs/topgrade
package
-
github.com
/topgrade-rs/topgrade/releases/tag/v12.0.0
web
Sources
- GitHub Advisory GHSA-f2wx-xjfw-xjv6
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.