GHSA-rccq-j2m7-8fwr
Dashboard / Vulnerabilities / GHSA-rccq-j2m7-8fwr
GHSA-rccq-j2m7-8fwr
Published: 25 Aug 2021Last Modified: 15 Mar 2024
Summary: Double-free in id-map
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-30457, https://github.com/andrewhickman/id-map/issues/3, https://github.com/andrewhickman/id-map, https://rustsec.org/advisories/RUSTSEC-2021-0052.html
Affected packages
Package
Name: id-map
Purl: pkg:cargo/id-map
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
