logo

CVE-2021-30457 id-map

Package

Manager: cargo
Name: id-map
Vulnerable Version: >=0 <=0.2.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00433 pctl0.6196

Details

Double-free in id-map 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.

Metadata

Created: 2021-08-25T20:55:14Z
Modified: 2023-06-13T18:19:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-rccq-j2m7-8fwr/GHSA-rccq-j2m7-8fwr.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-rccq-j2m7-8fwr
Finding: F138
Auto approve: 1