ADVISORIES

GitHub Advisory Database

GHSA-cgmg-2v6m-fjg7

Free of uninitialized memory in autorand

Details

An issue was discovered in the autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption.

Affected packages

EcosystemPackageAffected versions
crates.ioautorand
All versions before 0.2.3 (fixed in 0.2.3)

References