GHSA-vfqx-hv88-f9cvCriticalCVSS 9.8
Double-free in id-map
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- rust/id-map:<= 0.2.1