CVE-2021-29933 Double free in insert_many

High 7.5 Published Updated

A double-free vulnerability in the insert_many Rust crate allows attackers to cause memory corruption or crashes when a panic occurs during iteration.

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

CVE-2021-29933 is a high-severity use after free vulnerability in n/a, published on 1 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 insert_many crate through 2021-01-26 for Rust. Elements may be dropped twice if a .next() method panics.

Weakness: CWE-415

Which versions are affected by CVE-2021-29933?

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

PackageAffectedFixed in
insert_many crates.ioAll versions to 0.1.1None
insert_many crates.ioAll versions to 0.1.1None
insert_many crates.ioFrom 0.0.0-0None

Products include Insert Many Project Insert Many.

How do I fix CVE-2021-29933?

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

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

Sources

Also known as GHSA-29hg-r7c7-54fr, RUSTSEC-2021-0042.

Is CVE-2021-29933 in your software?

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

Check your SBOMs for free