CVE-2020-35882 Data races in rocket
A race condition in the Rocket Rust web framework allows multiple mutable references to the same object, potentially causing undefined behavior.
- 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-35882?
CVE-2020-35882 is a high-severity vulnerability in n/a, published on 31 Dec 2020. 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 rocket crate before 0.4.5 for Rust. LocalRequest::clone creates more than one mutable references to the same object, possibly causing a data race.
Weakness: CWE-362
Which versions are affected by CVE-2020-35882?
3 open source packages ship an affected version, including rocket. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rocket crates.io | From 0.4.0 | 0.4.5 |
rocket crates.io | From 0.4.0 | 0.4.5 |
rocket crates.io | From 0.4.0 | 0.4.5 |
Products include Rocket Rocket.
How do I fix CVE-2020-35882?
Upgrade rocket to 0.4.5 or later.
Is CVE-2020-35882 being exploited?
There is no known exploitation of CVE-2020-35882 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8q2v-67v7-6vc6, RUSTSEC-2020-0028.