GHSA-955p-rc5h-hg6h
Dashboard / Vulnerabilities / GHSA-955p-rc5h-hg6h
GHSA-955p-rc5h-hg6h
Summary: Double free in arenavec
Details: Affected versions of this crate did not guard against potential panics that may happen from user-provided functions T::default() and T::drop(). Panic within T::default() leads to dropping uninitialized T, when it is invoked from common::Slice::<T, H>::new(). Panic within T::drop() leads to double drop of T, when it is invoked either from common::SliceVec::<T, H>::resize_with() or common::SliceVec::<T, H>::resize() Either case causes memory corruption in the heap memory.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-29931, https://github.com/ibabushkin/arenavec/issues/1, https://github.com/ibabushkin/arenavec, https://rustsec.org/advisories/RUSTSEC-2021-0040.html
Affected packages
Package
Name: arenavec
Purl: pkg:cargo/arenavec
Affected ranges
Type: SEMVER
Events:
