CVE-2021-31996 Double free in algorithmica

High 7.5 Published Updated

A double free vulnerability in the Rust algorithmica crate allows attackers to cause denial of service or potentially execute arbitrary code.

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-31996?

CVE-2021-31996 is a high-severity use after free vulnerability in n/a, published on 3 May 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 algorithmica crate through 2021-03-07 for Rust. There is a double free in merge_sort::merge().

Weakness: CWE-415

Which versions are affected by CVE-2021-31996?

3 open source packages ship an affected version, including algorithmica. It affects 1 product.

PackageAffectedFixed in
algorithmica crates.ioAll versions to 0.1.8None
algorithmica crates.ioAll versions to 0.1.8None
algorithmica crates.ioFrom 0.0.0-0None

Products include Algorithmica Project Algorithmica.

How do I fix CVE-2021-31996?

No fix has been published for CVE-2021-31996 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-31996 being exploited?

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

Sources

Also known as GHSA-jh37-772x-4hpw, RUSTSEC-2021-0053.

Is CVE-2021-31996 in your software?

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

Check your SBOMs for free