Critical, CVSS 9.8crates.ioPublished
Out of bounds access in compact_arena
CVE-2019-16139 · GHSA-7j36-gc4r-9x3r
- Affected
- crates.io compact_arena < 0.4.0
- Fixed in
- 0.4.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.