CVE-2020-36442 Data races in beef
The beef crate lacks a Sync bound on Send, potentially allowing unsafe concurrent access and race conditions in 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-36442?
CVE-2020-36442 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 beef crate before 0.5.0 for Rust. beef::Cow has no Sync bound on its Send trait.
Weakness: CWE-362
Which versions are affected by CVE-2020-36442?
3 open source packages ship an affected version, including beef. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
beef crates.io | All versions | 0.5.0 |
beef crates.io | All versions | 0.5.0 |
beef crates.io | From 0.0.0-0 | 0.5.0 |
Products include Beef Project Beef.
How do I fix CVE-2020-36442?
Upgrade beef to 0.5.0 or later.
Is CVE-2020-36442 being exploited?
There is no known exploitation of CVE-2020-36442 in the wild and no public exploit code.
Sources
Also known as GHSA-m7w4-8wp8-m2xq, RUSTSEC-2020-0122.