Advisory

GHSA-vfqx-hv88-f9cv

Also known as: CVE-2021-30455, CVE-2021-30456, CVE-2021-30457, GHSA-8gmx-cpcg-f8h5, GHSA-rccq-j2m7-8fwr, RUSTSEC-2021-0052

Summary

Double-free in id-map

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:55 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

id-map

crates.io · All systems

Affected

  • introduced 0, last affected 0.2.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences