Advisory

GHSA-f2wx-xjfw-xjv6

Also known as: None

Summary

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

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-07-17 18:21 UTC
Modified
2023-07-17 18:21 UTC

Affected packages and fixes

topgrade

crates.io · All systems

Affected

  • introduced 0, fixed 12.0.1 (semver)

Fixed versions

12.0.1

Fix

  • Fixed version 12.0.1
    cargo update -p topgrade --precise 12.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences