NetSight
critical9.8

CVE-2019-16139

Out of bounds access in compact_arena

Impact

Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily dropped. 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.

Affected packages

EcosystemPackageAffectedFixed in
rustcompact_arena< 0.4.00.4.0

Affected products

VendorProductAffected versions
Compact Arena ProjectCompact Arena
before 0.4.0

Weakness classification

References