ADVISORIES

GitHub Advisory Database

GHSA-6wp2-fw3v-mfmc

Memory corruption in array-tools

Details

An issue was discovered in the array-tools crate before 0.3.2 for Rust. Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone() panics in FixedCapacityDequeLike<T, A>::clone(). This causes memory corruption.

Affected packages

EcosystemPackageAffected versions
crates.ioarray-tools
All versions before 0.3.2 (fixed in 0.3.2)

References