Advisory record · GHSA-8gmx-cpcg-f8h5

Double-free in id-map

CVSS 9.8 CriticalCriticalEPSS 0.011 · 67th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 25 Aug 2021, 20:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
id-mapcrates.io<=0.2.1No fixed version yet
Identifiers
GHSA-8gmx-cpcg-f8h5 · CVE-2021-30455 · CVE-2021-30456 · CVE-2021-30457 · GHSA-rccq-j2m7-8fwr · GHSA-vfqx-hv88-f9cv · RUSTSEC-2021-0052
Weakness (CWE)
CWE-415
Published
25 Aug 2021
Updated
15 Mar 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the id-map crate up to and including 0.2.1 are affected by several double-free and invalid-drop bugs. They occur when a user-supplied clone, insertion function, or Drop implementation panics during clone_from, get_or_insert, or remove_set. An attacker would need to supply a value type whose clone or Drop code panics, which the source does not describe as a remote path. No fix is listed in the source.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.011, the 67th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:20 UTC First seen by agentprime
  2. 31 Oct 2026, 15:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.