CVE-2021-28037 Data race in internment

Critical 9.8 Published Updated

A data race in the Rust internment crate can lead to memory corruption, potentially allowing arbitrary code execution.

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

What is CVE-2021-28037?

CVE-2021-28037 is a critical vulnerability in n/a, published on 5 Mar 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 internment crate before 0.4.2 for Rust. There is a data race that can cause memory corruption because of the unconditional implementation of Sync for Intern<T>.

Which versions are affected by CVE-2021-28037?

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

PackageAffectedFixed in
internment crates.ioAll versions0.4.2
internment crates.ioAll versions0.4.2
internment crates.ioFrom 0.0.0-00.4.2

Products include Internment Project Internment.

How do I fix CVE-2021-28037?

Upgrade internment to 0.4.2 or later.

Is CVE-2021-28037 being exploited?

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

Sources

Also known as GHSA-gppw-3h6h-v6q2, RUSTSEC-2021-0036.

Is CVE-2021-28037 in your software?

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

Check your SBOMs for free