CVE-2021-30455 Double-free in id-map

Critical 9.8 Published Updated

A double free vulnerability in the Rust id-map crate allows attackers to cause denial of service or potentially execute code via a panic during cloning.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-30455?

CVE-2021-30455 is a critical use after free vulnerability in n/a, published on 7 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-415

Which versions are affected by CVE-2021-30455?

2 open source packages ship an affected version, including id-map. It affects 1 product.

PackageAffectedFixed in
id-map crates.ioAll versions to 0.2.1None
id-map crates.ioAll versions to 0.2.1None

Products include Id-Map Project Id-Map.

How do I fix CVE-2021-30455?

No fix has been published for CVE-2021-30455 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-30455 being exploited?

There is no known exploitation of CVE-2021-30455 in the wild and no public exploit code.

Sources

Also known as GHSA-8gmx-cpcg-f8h5.

Is CVE-2021-30455 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free