critical9.8
CVE-2021-30457
Double-free in id-map
Impact
A double free can occur in remove_set upon a panic in a Drop impl. When removing a set of elements, ptr::drop_in_place 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | id-map | <= 0.2.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Id-Map Project | Id-Map | through 2021-02-26 |