CVE-2021-30455 json
Double-free in id-map
published 2021-02-26 5 y ago modified 2026-06-17 4 mo ago also CVE-2021-30456 , CVE-2021-30457 , GHSA-8gmx-cpcg-f8h5 , GHSA-rccq-j2m7-8fwr , GHSA-vfqx-hv88-f9cv , RUSTSEC-2021-0052 , EUVD-2021-1639
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
An issue was discovered in the id-map crate through 2021-02-26 for Rust. A double free can occur in IdMap::clone_from upon a .clone panic.
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | id-map | <=0.2.1 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
rustsec.org
/advisories/RUSTSEC-2021-0052.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-30456
advisory
-
github.com
/andrewhickman/id-map/issues/3
web, report
-
github.com
/andrewhickman/id-map
package
-
nvd.nist.gov
/vuln/detail/CVE-2021-30455
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-30457
advisory
-
crates.io
/crates/id-map
package
Sources
- CVE List CVE-2021-30455
- GitHub Advisory GHSA-vfqx-hv88-f9cv
- GitHub Advisory GHSA-8gmx-cpcg-f8h5
- GitHub Advisory GHSA-rccq-j2m7-8fwr
- NVD CVE-2021-30455
- OSV RUSTSEC-2021-0052
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.