Unratedcrates.ioPublished
temporary makes use of uninitialized memory
GHSA-2jq9-6xx7-3h29
- Affected
- crates.io temporary >= 0.3.0, < 0.6.4
- Fixed in
- 0.6.4· Vendor fix available
- Issue
- Uninitialized memory is used as a RNG seed in temporary. This has been resolved in the 0.6.4 release. The crate is not intended to be used outside of a testing environment. For a general purpose crate to create temporary directories, tempfile is an alternative for this crate.
Recommended action: Upgrade to 0.6.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.