7 matches found
GHSA-RCCQ-J2M7-8FWR Double-free in id-map
A double free can occur in removeset upon a panic in a Drop impl. When removing a set of elements, ptr::dropinplace is called on each of the element to be removed. If the Drop impl of one of these elements panics then the previously dropped elements can be dropped again...
GHSA-8GMX-CPCG-F8H5 Double-free in id-map
The clonefrom implementation for IdMap drops the values present in the map and then begins cloning values from the other map. If a .clone call pancics, then the afformentioned dropped elements can be freed again. getorinsert getorinsert reserves space for a value, before calling the user provided...
CVE-2021-30457
An issue was discovered in the id-map crate through 2021-02-26 for Rust. A double free can occur in removeset upon a panic in a Drop impl...
Double free
An issue was discovered in the id-map crate through 2021-02-26 for Rust. A double free can occur in removeset upon a panic in a Drop impl...
CVE-2021-30457
The CVE-2021-30457 entry pertains to the Rust id-map crate, with a concrete issue: a double free that can occur in remove_set when a panic happens in a Drop implementation. This vulnerability affects id-map versions up to 2021-02-26 and is highlighted across multiple advisories (e.g., OSV and Red...
RUSTSEC-2021-0052 Multiple functions can cause double-frees
The following functions in the crate are affected: IdMap::clonefrom The clonefrom implementation for IdMap drops the values present in the map and then begins cloning values from the other map. If a .clone call pancics, then the afformentioned dropped elements can be freed again. getorinsert...
Multiple functions can cause double-frees
The following functions in the crate are affected: IdMap::clonefrom The clonefrom implementation for IdMap drops the values present in the map and then begins cloning values from the other map. If a .clone call pancics, then the afformentioned dropped elements can be freed again. getorinsert...