CVE-2021-29929 Double free in endian_trait

High 7.5 Published Updated

A double drop vulnerability in the endian_trait crate allows attackers to trigger memory corruption or crashes if a custom Endian implementation panics.

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

CVE-2021-29929 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 endian_trait crate through 2021-01-04 for Rust. A double drop can occur when a user-provided Endian impl panics.

Weakness: CWE-415

Which versions are affected by CVE-2021-29929?

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

PackageAffectedFixed in
endian_trait crates.ioAll versions to 0.6.0None
endian_trait crates.ioAll versions to 0.6.0None
endian_trait crates.ioFrom 0.0.0-0None

Products include Endian Trait Project Endian Trait.

How do I fix CVE-2021-29929?

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

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

Sources

Also known as GHSA-vpw8-43wm-rxw5, RUSTSEC-2021-0039.

Is CVE-2021-29929 in your software?

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

Check your SBOMs for free