CVE-2021-28037 Data race in internment
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.
| Package | Affected | Fixed in |
|---|---|---|
internment crates.io | All versions | 0.4.2 |
internment crates.io | All versions | 0.4.2 |
internment crates.io | From 0.0.0-0 | 0.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gppw-3h6h-v6q2, RUSTSEC-2021-0036.