CVE-2021-29931 – arenavec
Package
Manager: cargo
Name: arenavec
Vulnerable Version: >=0 <=0.1.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00389 pctl0.59205
Details
Double free in arenavec 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.
Metadata
Created: 2021-08-25T20:55:04Z
Modified: 2023-06-13T16:52:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-955p-rc5h-hg6h/GHSA-955p-rc5h-hg6h.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-955p-rc5h-hg6h
Finding: F138
Auto approve: 1