RUSTSEC-2019-0015
Dashboard / Vulnerabilities / RUSTSEC-2019-0015
RUSTSEC-2019-0015
Summary: Flaw in generativity allows out-of-bounds access
Details: Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily `drop`ped. This allows an attacker to mix up two arenas, using indices created from one arena with another one. This might lead to an out-of-bounds read or write access into the memory reserved for the arena. The flaw was corrected by implementing generativity correctly in version 0.4.0.
References: https://crates.io/crates/compact_arena, https://rustsec.org/advisories/RUSTSEC-2019-0015.html, https://github.com/llogiq/compact_arena/issues/22
Affected packages
Package
Name: compact_arena
Purl: pkg:cargo/compact_arena
Affected ranges
Type: SEMVER
Events:
