CVE-2020-36438 Data race in tiny_future
Missing Send and Sync bounds in tiny_future crate allow data races, potentially leading to memory corruption or crashes in concurrent Rust applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-36438?
CVE-2020-36438 is a high-severity vulnerability in n/a, published on 8 Aug 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 tiny_future crate before 0.4.0 for Rust. Future<T> does not have bounds on its Send and Sync traits.
Weakness: CWE-362
Which versions are affected by CVE-2020-36438?
5 open source packages ship an affected version, including tiny_future. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tiny_future crates.io | All versions | 0.4.0 |
tiny_future crates.io | All versions | 0.4.0 |
tiny_future crates.io | All versions | 0.4.0 |
tiny_future crates.io | All versions | 0.4.0 |
tiny_future crates.io | From 0.0.0-0 | 0.4.0 |
Products include Tiny Future Project Tiny Future.
How do I fix CVE-2020-36438?
Upgrade tiny_future to 0.4.0 or later.
Is CVE-2020-36438 being exploited?
There is no known exploitation of CVE-2020-36438 in the wild and no public exploit code.
Sources
Also known as GHSA-fg42-vwxx-xx5j, GHSA-m296-j53x-xv95, RUSTSEC-2020-0118.