Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/tempdir/RUSTSEC-2018-0017.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ unaffected = []

# `tempdir` crate has been deprecated; use `tempfile` instead

The [`tempdir`](https://crates.io/crates/tempdir) crate has been deprecated
and the functionality is merged into [`tempfile`](https://crates.io/crates/tempfile).
The [`tempdir`](https://crates.io/crates/tempdir) crate has been deprecated.
17 changes: 17 additions & 0 deletions crates/tempfile/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "tempfile"
date = "2022-05-01"
url = "https://github.com/Stebalien/tempfile/issues/178"
references = ["https://github.com/Stebalien/tempfile/pull/141", "https://github.com/Stebalien/tempfile/pull/162", "https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File"]
keywords = ["tempfile"]
[versions]
patched = []
```

# tempfile uses predictable RNG

tempfile makes security guarantees that are not met by using predictable random number generator.

The vectors may or may not vary by the platform and the use of the library.
2 changes: 0 additions & 2 deletions crates/temporary/RUSTSEC-2018-0022.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ fn random_seed(_: &Path, _: &str) -> [u64; 2] {
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.