Skip to content
OpenAdvisories
Medium GHSA-2jq9-6xx7-3h29 RUSTSEC-2018-0022

`temporary` makes use of uninitialized memory

Published Aug 11, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

Description

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`](https://crates.io/crates/tempfile) is an alternative for this crate.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io temporary >= 0.3.0, < 0.6.4 0.6.4 GHSA-2jq9-6xx7-3h29

References