GHSA-vfqx-hv88-f9cv
Dashboard / Vulnerabilities / GHSA-vfqx-hv88-f9cv
GHSA-vfqx-hv88-f9cv
Published: 25 Aug 2021Last Modified: 15 Mar 2024
Summary: Double-free in id-map
Details: A double free can occur in get_or_insert upon a panic of a user-provided f function. get_or_insert reserves space for a value, before calling the user provided insertion function f. If the function f panics then uninitialized or previously freed memory can be dropped.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-30456, 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
