RUSTSEC-2018-0022
MEDIUM`temporary` makes use of uninitialized memory
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.
- Published
- 22 Aug 2018
- Last modified
- 8 Nov 2023
- Also known as
- GHSA-2jq9-6xx7-3h29
- Sources
- OSV GHSA-2jq9-6xx7-3h29JSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | temporary | >= 0.3.0, < 0.6.4 | 0.6.4 |
References
- https://github.com/stainless-steel/temporary/issues/2 · WEB, REPORT
- https://github.com/stainless-steel/temporary · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2018-0022.html · WEB, ADVISORY
- https://crates.io/crates/temporary · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Aug 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2022)