ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0038

Memory safety issues in `compact::Vec`

Details

compact::Vec contains multiple memory safety issues.

  • It mishandles large capacity and causes out-of-bound access in 32-bit / allocator layout mismatch in 64-bit.
  • remove() is not panic-safe and causes double-free when an index larger than the length is provided.

Affected packages

EcosystemPackageAffected versions
crates.ioordnung
From 0.0.0-0, no fix listed

References