Advisory

GHSA-2jq9-6xx7-3h29

Also known as: RUSTSEC-2018-0022

Summary

temporary makes use of uninitialized memory

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-11 18:10 UTC
Modified
2023-11-08 04:14 UTC

Affected packages and fixes

temporary

crates.io · All systems

Affected

  • introduced 0.3.0, fixed 0.6.4 (semver)

Fixed versions

0.6.4

Fix

  • Fixed version 0.6.4
    cargo update -p temporary --precise 0.6.4

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