ADVISORIES

GitHub Advisory Database

GHSA-8fgg-5v78-6g76

Deserializing an array can free uninitialized memory in byte_struct

Details

Byte_struct stack and unpack structure as raw bytes with packed or bit field layout. An issue was discovered in the byte_struct crate before 0.6.1 for Rust. There can be a drop of uninitialized memory if a certain deserialization method panics.

Affected packages

EcosystemPackageAffected versions
crates.iobyte_struct
All versions before 0.6.1 (fixed in 0.6.1)

References