SecurityContext

CVE-2021-30457: id-map - Use After Free

  • Cve: CVE-2021-30457
  • Name: id-map - Use After Free
  • Description: An issue was discovered in the id-map crate through 2021-02-26 for Rust. A double free can occur in remove_set upon a panic in a Drop impl.
  • Impact: Potential for use-after-free or denial of service due to double free or crash.
  • Remediation: Update to the latest version of the id-map crate that addresses this issue.
  • Vulnerability type: use_after_free
  • Vulnerability impact: use_after_free, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01139
  • Epss percentile: 0.67266
  • Assignee: [email protected]
  • Published at: 2021-04-07T22:15:15Z
  • Age in days: 2057
  • Modified at: 2026-06-17T03:50:16Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-30457
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-415Double Free

References

UrlSourceTags
https://rustsec.org/advisories/RUSTSEC-2021-0052.htmlnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
id-map_project:id-map<= 2021-02-26nonvd/v1/products/id-map_project/id-map

Projects

RepositoryLink kindsIndexedUrl
andrewhickman/id-mapissues, packageyes/v1/repositories/andrewhickman/id-map

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts